/* استایل فرم ثبت‌نام آکادمی بهره‌وری */
#bahrevary-registration-form-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 18, 4, 0.15);
    overflow: hidden;
}

.bahrevary-form-header {
    background: linear-gradient(135deg, #001204 0%, #0A1A0F 100%);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.bahrevary-form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #F15A25, #20C997, #F15A25);
}

.bahrevary-form-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.bahrevary-form-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.bahrevary-academy-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F15A25 0%, #ff8c5a 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(241, 90, 37, 0.3);
}

.bahrevary-form-body {
    padding: 40px;
}

.bahrevary-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .bahrevary-form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.bahrevary-form-group {
    margin-bottom: 25px;
}

.bahrevary-form-label {
    display: block;
    margin-bottom: 10px;
    color: #001204;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.bahrevary-form-label::after {
    content: ' *';
    color: #F15A25;
    position: absolute;
    top: 0;
    left: -10px;
}

.bahrevary-form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fafafa;
    direction: rtl;
}

.bahrevary-form-control:focus {
    outline: none;
    border-color: #F15A25;
    background: white;
    box-shadow: 0 5px 15px rgba(241, 90, 37, 0.1);
}

.bahrevary-form-control.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.bahrevary-form-control.success {
    border-color: #20C997;
    background: #f8fff9;
}

.bahrevary-error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 8px;
    display: none;
}

.bahrevary-error-message.show {
    display: block;
}

.bahrevary-form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: #fafafa;
    cursor: pointer;
    direction: rtl;
}

.bahrevary-file-upload {
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s;
    cursor: pointer;
}

.bahrevary-file-upload:hover {
    border-color: #F15A25;
    background: #fffaf7;
}

.bahrevary-file-upload.drag-over {
    border-color: #20C997;
    background: #f8fff9;
}

.bahrevary-upload-icon {
    font-size: 3rem;
    color: #001204;
    margin-bottom: 15px;
    opacity: 0.6;
}

.bahrevary-upload-text {
    color: #666;
    margin-bottom: 10px;
}

.bahrevary-file-types {
    font-size: 0.85rem;
    color: #888;
}

.bahrevary-file-info {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
}

.bahrevary-file-info.show {
    display: block;
}

.bahrevary-file-info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bahrevary-remove-file {
    background: none;
    border: none;
    color: #F15A25;
    cursor: pointer;
    font-size: 0.9rem;
}

.bahrevary-file-size {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.bahrevary-privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bahrevary-privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.bahrevary-privacy-check label {
    font-size: 0.9rem;
    color: #666;
}

.bahrevary-privacy-check a {
    color: #F15A25;
    text-decoration: none;
}

.bahrevary-submit-button {
    background: linear-gradient(135deg, #F15A25 0%, #ff8c5a 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bahrevary-submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(241, 90, 37, 0.3);
}

.bahrevary-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.bahrevary-loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: bahrevary-spin 1s linear infinite;
}

@keyframes bahrevary-spin {
    to { transform: rotate(360deg); }
}

.bahrevary-success-message {
    background: linear-gradient(135deg, #20C997 0%, #3CE8B5 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
    display: none;
}

.bahrevary-success-message.show {
    display: block;
    animation: bahrevary-fadeIn 0.5s ease;
}

@keyframes bahrevary-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bahrevary-success-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bahrevary-success-message h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.bahrevary-tracking-info {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.bahrevary-contact-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.bahrevary-contact-info p {
    margin: 5px 0;
}

.bahrevary-contact-info i {
    margin-left: 8px;
    color: #F15A25;
}

.bahrevary-contact-info a {
    color: #001204;
    text-decoration: none;
    font-weight: bold;
}

.bahrevary-contact-info a:hover {
    color: #F15A25;
}