/* Africa Tourism Day - Pledge to Pivot Plugin Styles */

.atd-pledge-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Success Message */
.atd-pledge-success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.atd-pledge-success-message h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.atd-pledge-success-message p {
    margin: 10px 0;
    font-size: 16px;
}

/* Principles Section */
.atd-pledge-principles {
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atd-pledge-principles h1 {
    font-size: 36px;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.atd-pledge-intro {
    text-align: center;
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
}

.atd-pledge-principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.atd-pledge-principle-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.atd-pledge-principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

.atd-pledge-principle-card h3 {
    color: #059669;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}

.atd-pledge-principle-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atd-pledge-principle-card li {
    color: #374151;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.atd-pledge-principle-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.atd-pledge-closing {
    text-align: center;
    font-size: 16px;
    color: #1f2937;
    padding: 20px;
    background: #f3f4f6;
    border-radius: 6px;
    margin-top: 30px;
}

/* Form Section */
.atd-pledge-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atd-pledge-form-wrapper h2 {
    font-size: 28px;
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 10px;
}

.atd-pledge-form-wrapper > p {
    color: #6b7280;
    margin-bottom: 30px;
}

.atd-pledge-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.atd-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.atd-form-group {
    display: flex;
    flex-direction: column;
}

.atd-form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.atd-form-group input,
.atd-form-group textarea {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.atd-form-group input:focus,
.atd-form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.atd-form-group input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.atd-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.atd-pledge-submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1;
}

.atd-pledge-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

.atd-pledge-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .atd-pledge-container {
        padding: 20px 15px;
    }

    .atd-pledge-principles,
    .atd-pledge-form-wrapper {
        padding: 25px;
    }

    .atd-pledge-principles h1 {
        font-size: 28px;
    }

    .atd-pledge-principles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .atd-form-row {
        grid-template-columns: 1fr;
    }

    .atd-pledge-submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .atd-pledge-container {
        padding: 15px 10px;
    }

    .atd-pledge-principles,
    .atd-pledge-form-wrapper {
        padding: 20px;
    }

    .atd-pledge-principles h1 {
        font-size: 24px;
    }

    .atd-pledge-form-wrapper h2 {
        font-size: 22px;
    }
}
