/* Pure CSS animations for login page - not compiled by LESS */

/* Spinner rotation animation */
.loading-spinner {
    animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
}

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

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@-moz-keyframes spin {
    0% { -moz-transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); }
}

/* Elegant Smart-ID section styling */
.smartid-instructions {
    padding: 20px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    animation: fadeIn 0.3s ease-in;
    -webkit-animation: fadeIn 0.3s ease-in;
}

.control-code-section {
    margin-bottom: 20px;
}

.control-code-section h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    font-weight: normal;
    line-height: 1.3;
}

.control-code {
    display: inline-block;
    background: #f8f9fa;
    border: 1px solid #13659a;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 24px;
    font-weight: bold;
    color: #13659a;
    letter-spacing: 3px;
    margin: 6px 0;
    font-family: 'Courier New', monospace;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    line-height: 1;
    text-align: center;
    min-width: 100px;
}

.instructions-section {
    margin-bottom: 20px;
}

.instructions-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.3;
    margin: 0;
}

.waiting-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.waiting-section p {
    font-size: 13px;
    color: #888;
    margin: 8px 0 0 0;
}

.smartid-actions {
    text-align: center;
}

.smartid-actions button {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.smartid-actions button:hover {
    background: #e9ecef;
    border-color: #bbb;
    color: #333;
}

/* Add fade-in animation to existing smartid-instructions rule above */

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

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