/* Modern Form Styles */
.ta-edit-profile, .ta-registration-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ta-back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: #6c757d;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ta-back-button:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
    outline: none;
    background: white;
}

.venue-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.venue-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.button {
    padding: 1rem 2rem;
    background: #4e73df;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.button:hover {
    background: #2e59d9;
    transform: translateY(-2px);
}

.button-primary {
    background: #4e73df;
}

.notice {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.notice-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.notice-success {
    background: #dcfce7;
    border-left: 4px solid #22c55e;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.media-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
}

.media-item img {
    max-width: 100%;
    border-radius: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .ta-edit-profile, .ta-registration-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .venue-options {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .button {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-section {
        margin-bottom: 1.8rem;
    }
}

/* Modern Mobile-First Styles */
.ta-edit-profile {
    max-width: 100%;
    padding: 1rem;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.ta-back-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: #4e73df;
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.ta-back-button:hover {
    background: #2e59d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.2);
    outline: none;
    background: white;
}

.venue-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.venue-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.button {
    padding: 0.9rem 1.5rem;
    background: #4e73df;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    margin-right: 0.8rem;
    margin-bottom: 0.8rem;
}

.button:hover {
    background: #2e59d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.button-primary {
    background: #4e73df;
}

.notice {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.notice-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #b91c1c;
}

.notice-success {
    background: #dcfce7;
    border-left: 4px solid #22c55e;
    color: #166534;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.media-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.media-item img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* Mobile-specific optimizations */
@media (max-width: 480px) {
    .ta-edit-profile {
        padding: 1rem 0.8rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .venue-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .button {
        width: 100%;
        margin-right: 0;
    }
    
    .media-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet and Desktop enhancements */
@media (min-width: 768px) {
    .ta-edit-profile {
        max-width: 700px;
        margin: 2rem auto;
        padding: 2rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
    }
    
    .form-group {
        max-width: 500px;
    }
}

/* Add to the bottom of the file */
@media (max-width: 480px) {
    .partner-login-container {
        width: 100vw !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
    
    .login-card {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
        border-radius: 12px !important;
    }
    
    .login-header h2 {
        font-size: 24px !important;
    }
    
    .login-header p {
        font-size: 14px !important;
    }
    
    .form-footer,
    .form-group {
        margin-bottom: 18px !important;
    }
}

/* Add to the bottom of the file */
.partner-login-container.ta-registration-form {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 !important;
}

@media (max-width: 480px) {
    .partner-login-container.ta-registration-form {
        align-items: flex-start;
        padding-top: 20px !important;
    }
    
    .login-card {
        width: 95% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 12px !important;
    }
}