/* Tujilinde Registration Form Styles */
.tujilinde-form .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.tujilinde-form .card-header {
    background-color: #78bd52;
    color: white;
    border: none;
    padding: 2rem;
}

.tujilinde-form .card-header h2 {
    color: white;
    font-weight: 600;
}

.tujilinde-form .card-body {
    padding: 2.5rem;
}

/* Form Controls */
.tujilinde-form .form-control,
.tujilinde-form .form-select,
.tujilinde-form textarea {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem;
    background-color: #fff;
    transition: all 0.3s ease;
    width: 100%;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.tujilinde-form .form-control:focus,
.tujilinde-form .form-select:focus,
.tujilinde-form textarea:focus {
    border-color: #78bd52;
    box-shadow: 0 0 0 0.2rem rgba(120, 189, 82, 0.25);
    background-color: #fff;
}

.tujilinde-form .input-group-text {
    background-color: #f0f7e9;
    border: 1px solid #dee2e6;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #1F8A4D;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

/* Registration Fee Input Group */
.tujilinde-form .input-group.registration-fee {
    max-width: 200px;
}

.tujilinde-form .input-group.registration-fee .form-control {
    text-align: right;
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Section Headers */
.tujilinde-form .section-title {
    position: relative;
    padding-bottom: 1.25rem;
    color: #1F8A4D;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
}

.tujilinde-form .section-title:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #e9ecef;
}

.tujilinde-form .section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 4px;
    background-color: #78bd52;
}

/* Buttons */
.tujilinde-form .btn-submit {
    background-color: #1F8A4D;
    border-color: #1F8A4D;
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tujilinde-form .btn-submit:hover {
    background-color: #16703f;
    border-color: #16703f;
}

.tujilinde-form .btn-clear {
    color: #dc3545;
    border: 1px solid #dc3545;
    background: transparent;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.tujilinde-form .btn-clear:hover {
    background-color: #dc3545;
    color: white;
}

/* Required Field Indicator */
.required-field::after {
    content: '*';
    color: #dc3545;
    margin-left: 0.25rem;
}

/* Form Labels */
.tujilinde-form .form-label {
    font-weight: 500;
    color: #495057;
}

/* Links */
.tujilinde-form a {
    color: #1F8A4D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tujilinde-form a:hover {
    color: #78bd52;
    text-decoration: underline;
}

/* ====================================
   Status Pages
   ==================================== */
.tujilinde-form .status-container {
    max-width: 800px;
    margin: 2rem auto;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    background: white;
    border: 1px solid #e9ecef;
}

.tujilinde-form .status-header {
    background: linear-gradient(135deg, #1F8A4D 0%, #78bd52 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tujilinde-form .status-header.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #f14668 100%);
}

.tujilinde-form .status-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

.tujilinde-form .status-header h1 strong {
    font-weight: 700;
}

.tujilinde-form .status-content {
    padding: 2.5rem;
    text-align: center;
}

.tujilinde-form .status-icon {
    margin-bottom: 1.5rem;
}

.tujilinde-form .status-message {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1F8A4D;
}

/* Processing Status */
.tujilinde-form .steps-container {
    max-width: 500px;
    margin: 0 auto 2rem;
    text-align: left;
}

.tujilinde-form .step-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.tujilinde-form .step-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
    bottom: -1.5rem;
    width: 2px;
    background: #e9ecef;
}

.tujilinde-form .step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    color: #6c757d;
    flex-shrink: 0;
}

.tujilinde-form .step-content {
    padding-top: 0.25rem;
}

.tujilinde-form .step-content strong {
    color: #212529;
    display: block;
    margin-bottom: 0.25rem;
}

/* Success Status */
.tujilinde-form .next-steps .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e9ecef;
}

.tujilinde-form .next-steps .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05) !important;
}

.tujilinde-form .next-steps .icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: #f0f7e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tujilinde-form .next-steps .icon-wrapper i {
    color: #1F8A4D;
}

/* Failed Status */
.tujilinde-form .suggestions {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.tujilinde-form .suggestions h5 {
    color: #212529;
    font-weight: 600;
}

.tujilinde-form .suggestions li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    position: relative;
}

/* Common Elements */
.tujilinde-form .processing-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 2rem;
    font-size: 0.95rem;
}

.tujilinde-form .status-countdown {
    color: #6c757d;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.tujilinde-form .status-countdown span {
    color: #1F8A4D;
    font-weight: 600;
    min-width: 1.5rem;
    display: inline-block;
}

/* Status Specific Styles */
.tujilinde-form #registration-failed .status-header {
    background-color: #dc3545;
}

.tujilinde-form #registration-failed .status-message {
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tujilinde-form .card-body,
    .tujilinde-form .status-content {
        padding: 1.5rem;
    }
    
    .tujilinde-form .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tujilinde-form .btn {
        width: 100%;
    }
    
    .tujilinde-form .status-image {
        max-width: 150px;
    }
    
    .tujilinde-form .status-message {
        font-size: 1.1rem;
    }
}
