/* Styles for Chụp ảnh dạo Google Login Plugin */

.cad-register-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 480px;
    margin: 3rem auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: system-ui, -apple-system, sans-serif;
    color: #1f2937;
}

.cad-register-card:hover {
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.08);
}

.cad-register-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cad-register-logo {
    margin-bottom: 1rem;
}

.cad-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #000000;
}

.cad-register-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #111827;
}

.cad-register-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.cad-gmail-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.06);
    border-left: 3px solid #3b82f6;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.cad-notice-icon {
    width: 20px;
    height: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.cad-notice-text {
    font-size: 0.825rem;
    color: #1e3a8a;
    line-height: 1.4;
    font-weight: 500;
}

.cad-google-btn-wrapper {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

/* Status Box */
.cad-status-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: cadFadeIn 0.3s ease forwards;
}

.cad-status-box.cad-hidden {
    display: none !important;
}

.cad-status-box.cad-loading {
    background: rgba(243, 244, 246, 0.8);
    border: 1px solid rgba(229, 231, 235, 1);
}

.cad-status-box.cad-success {
    background: rgba(240, 253, 250, 1);
    border: 1px solid rgba(187, 247, 208, 1);
}

.cad-status-box.cad-error {
    background: rgba(254, 242, 242, 1);
    border: 1px solid rgba(254, 202, 202, 1);
}

.cad-status-text {
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.cad-status-text.cad-info {
    color: #1f2937;
}

.cad-status-text.cad-success {
    color: #065f46;
    font-weight: 600;
}

.cad-status-text.cad-error {
    color: #991b1b;
    font-weight: 600;
}

/* Spinner Animation */
.cad-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top: 2px solid #000000;
    border-radius: 50%;
    animation: cadSpin 1s linear infinite;
    flex-shrink: 0;
}

.cad-register-msg {
    text-align: center;
    padding: 2rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    font-family: system-ui, -apple-system, sans-serif;
}

@keyframes cadSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cadFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.cad-register-card-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.cad-back-home-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cad-back-home-link:hover {
    color: #000000;
}

@media (max-width: 480px) {
    .cad-register-card {
        padding: 2rem 1.5rem;
    }
}
