/* Shop Registration Form Styles */
:root {
    --primary: #0d47a1;
    --secondary: #d4af37;
    --success: #28a745;
    --danger: #dc3545;
    --radius: 8px;
}

.registration-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registration-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.registration-header p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

/* Plan Cards */
.plan-container {
    display: flex;
    gap: 30px;
    margin: 40px auto;
    justify-content: center;
    padding: 0 40px;
    flex-wrap: wrap;
}

.plan-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius);
    padding: 35px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.plan-card.selected {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.plan-card.selected::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--secondary);
    font-size: 1.5rem;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

.plan-badge {
    position: absolute;
    top: 20px;
    left: -30px;
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 30px;
    transform: rotate(-45deg);
    font-size: 0.8rem;
    font-weight: bold;
    width: 120px;
    text-align: center;
}

.plan-card.premium .plan-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-title i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.plan-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}

.plan-price span {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
    margin-left: 5px;
}

.features-list,
.plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    color: #555;
}

.features-list li,
.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.features-list li:last-child,
.plan-features li:last-child {
    border-bottom: none;
}

.features-list i,
.plan-features i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

.features-list .fa-times,
.plan-features .fa-times {
    color: var(--danger);
}

.plan-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.plan-card.selected .plan-button {
    background: linear-gradient(45deg, var(--secondary), #ffed4e);
    color: var(--primary);
}

.plan-button:hover {
    background: #0d47a1;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 6px;
}

.form-section h3 {
    margin-top: 0;
    color: #3498db;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.form-group, .input-group {
    margin-bottom: 1.5rem;
}

.form-group label, .input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #34495e;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group input[type="password"],
.form-group select,
.form-group textarea,
.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="date"],
.input-group input[type="url"],
.input-group input[type="file"],
.input-group input[type="password"],
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Password field specific styles */
.input-group input[type="password"] {
    padding-right: 40px;
}

.password-strength {
    height: 5px;
    margin-top: 5px;
    border-radius: 3px;
    transition: all 0.3s;
}

.weak { background-color: #dc3545; width: 25%; }
.medium { background-color: #ffc107; width: 50%; }
.strong { background-color: #28a745; width: 100%; }

.help-text {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.help-text i {
    color: #3498db;
}

.required {
    color: #e74c3c;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.half-width {
    flex: 1;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

.error-message,
.verification-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-note {
    background: #fff8e1;
    padding: 1rem;
    border-left: 4px solid #ffc107;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-note strong {
    color: #e65100;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-prev, .btn-next, .btn-submit {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-prev {
    background: #95a5a6;
    color: white;
}

.btn-prev:hover {
    background: #7f8c8d;
}

.btn-next, .btn-submit {
    background: #3498db;
    color: white;
}

.btn-next:hover, .btn-submit:hover {
    background: #2980b9;
}

/* Human Verification */
.human-verification {
    background: #f5f9ff;
}

.human-verification-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.time-verification {
    margin-top: 20px;
}

.time-notice {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    display: none;
}

.math-verification {
    margin-bottom: 20px;
}

.text-verification-container {
    margin-bottom: 10px;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-option {
    position: relative;
}

.social-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.social-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    height: 100%;
}

.social-option label:hover {
    background: #e0e0e0;
}

.social-option input[type="checkbox"]:checked + label {
    background: #3498db;
    color: white;
}

.social-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Form grid for responsive */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.full-width {
    grid-column: span 2;
}

/* Responsive Design */
@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    .plan-container {
        flex-direction: column;
        align-items: center;
    }
    
    .plan-card {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .half-width {
        width: 100%;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .btn-home, .btn-new {
        width: 100%;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .registration-container, .confirmation-container {
        padding: 1rem;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-container {
        padding: 0 20px;
    }
    
    .plan-card {
        min-width: 250px;
    }
}