/**
 * Vendor Registration - CSS Styles
 * Copy this entire content into Code Snippets as CSS snippet
 */

.vendor-forms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.vendor-reg-container {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #02153d;
    margin: 24px 0;
    text-align: center;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: #e5e7eb;
    color: #6b7280;
    transition: all 0.3s;
}

.step-number.active {
    background: #90cb15;
    color: #02153d;
}

.step-number.completed {
    background: #02153d;
    color: #90cb15;
}

.step-label {
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.step-line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 8px;
}

.step-line.active {
    background: #90cb15;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #02153d;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #90cb15;
    box-shadow: 0 0 0 3px rgba(144, 203, 21, 0.1);
}

.form-group.error input,
.form-group.error select {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.profile-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.profile-photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f0f9e8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    border: 2px solid #90cb15;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-preview svg {
    width: 48px;
    height: 48px;
    color: #90cb15;
}

.upload-button {
    background: #90cb15;
    color: #02153d;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    transition: background 0.2s;
    font-weight: 600;
}

.upload-button:hover {
    background: #7fb512;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 12px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 14px;
}

.btn-back {
    background: #f3f4f6;
    color: #02153d;
}

.btn-back:hover {
    background: #e5e7eb;
}

.btn-next,
.btn-login {
    background: #90cb15;
    color: #02153d;
    flex: 1;
    font-weight: 600;
}

.btn-next:hover,
.btn-login:hover {
    background: #7fb512 !important;
    color: #02153d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(144, 203, 21, 0.4);
}

.btn-next:disabled,
.btn-login:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #02153d;
    margin-bottom: 8px;
}

.step-description {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 14px;
}

.payment-method-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-method-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.payment-method-btn.active {
    border-color: #90cb15;
    background: #f0f9e8;
    color: #02153d;
}

.payment-section {
    display: none;
}

.payment-section.active {
    display: block;
}

.form-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.form-footer p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.form-footer a {
    color: #90cb15;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-footer a:hover {
    color: #7fb512;
    text-decoration: underline;
}

/* Custom Notification System */
.padel-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #90cb15;
}

.padel-notification.success {
    border-left-color: #90cb15;
}

.padel-notification.error {
    border-left-color: #ef4444;
}

.padel-notification.info {
    border-left-color: #3b82f6;
}

.padel-notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.padel-notification-content {
    flex: 1;
}

.padel-notification-title {
    font-weight: 600;
    color: #02153d;
    margin-bottom: 4px;
}

.padel-notification-message {
    font-size: 14px;
    color: #6b7280;
}

.padel-notification-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.padel-notification-close:hover {
    color: #6b7280;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .vendor-forms-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .vendor-reg-container {
        padding: 20px;
    }
    .vendor-forms-wrapper {
        padding: 0 10px;
        margin: 20px auto;
    }
}
