/**
 * Lock page styles
 * Shopify-inspired clean design
 */

.ncsl-lock-page {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #333;
}

.ncsl-lock-container {
    width: 100%;
    max-width: 500px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.ncsl-lock-content {
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.ncsl-logo {
    margin-bottom: 30px;
}

.ncsl-logo img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ncsl-lock-icon,
.ncsl-lock-icon-default {
    margin: 20px 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ncsl-lock-icon img {
    max-width: 64px;
    height: auto;
}

.ncsl-lock-icon-default svg {
    width: 48px;
    height: 48px;
    color: #666;
}

.ncsl-heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #333;
    line-height: 1.3;
}

.ncsl-message {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.ncsl-lock-form {
    margin-top: 30px;
}

.ncsl-form-group {
    margin-bottom: 15px;
}

.ncsl-lock-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.ncsl-lock-form input[type="password"]:focus {
    outline: none;
    border-color: #000;
}

.ncsl-lock-form input[type="password"]::placeholder {
    color: #999;
}

.ncsl-submit-button {
    width: 100%;
    padding: 14px 24px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    font-family: inherit;
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ncsl-submit-button:hover:not(:disabled) {
    background: #333;
}

.ncsl-submit-button:active:not(:disabled) {
    background: #000;
}

.ncsl-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ncsl-error-message {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 20px;
    display: none;
}

.ncsl-error-message.show {
    display: block;
}

.ncsl-button-loader {
    display: inline-block;
}

.ncsl-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ncsl-spin 0.6s linear infinite;
}

@keyframes ncsl-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .ncsl-lock-content {
        padding: 40px 30px;
    }
    
    .ncsl-heading {
        font-size: 24px;
    }
    
    .ncsl-message {
        font-size: 16px;
    }
    
    .ncsl-logo img {
        max-width: 150px;
    }
    
    .ncsl-social-links {
        gap: 12px;
    }
    
    .ncsl-social-link {
        width: 36px;
        height: 36px;
    }
    
    .ncsl-social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .ncsl-contact-info {
        font-size: 13px;
    }
}

/* Accessibility */
.ncsl-lock-form input[type="password"]:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Social Links */
.ncsl-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.ncsl-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 50%;
    background: #f5f5f5;
}

.ncsl-social-link:hover {
    color: #000;
    transform: translateY(-2px);
    background: #e5e5e5;
}

.ncsl-social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Info */
.ncsl-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
    align-items: center;
}

.ncsl-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.ncsl-contact-item:hover {
    color: #000;
}

.ncsl-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Footer Text */
.ncsl-footer-text {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

.ncsl-footer-text p {
    margin: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .ncsl-lock-form input[type="password"] {
        border-width: 2px;
    }
    
    .ncsl-submit-button {
        border: 2px solid #000;
    }
    
    .ncsl-social-link {
        border: 1px solid #666;
    }
}

