/* Husky Hybrid Encryptor Styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

h2 {
    color: #667eea;
    font-size: 18px;
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"], input[type="file"], textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

button:active {
    transform: translateY(0);
}

#status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

small {
    color: #888;
    font-size: 12px;
}

.recipient-item {
    background: white;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Spacing utilities */
.label-spacing {
    margin-top: 15px;
}

.small-block {
    display: block;
    margin-top: 5px;
}

.small-block-10 {
    display: block;
    margin-top: 10px;
}

/* Info section */
.info-section {
    margin-top: 30px;
}

.info-list {
    line-height: 1.8;
    color: #555;
}

/* Footer styles */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    color: #888;
}

footer p {
    margin-top: 10px;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

/* Info box */
.info-box {
    background: #e7f3ff;
    border-left: 3px solid #0066cc;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
}

.hidden {
    display: none;
}

/* Button group for passkey registration */
.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.button-group button {
    flex: 1;
    min-width: 200px;
}

/* Security warning section */
.security-warning {
    background: #fff3cd;
    border: 3px solid #ff9800;
    border-left: 6px solid #d32f2f;
}

.security-warning h2 {
    color: #d32f2f;
    margin-bottom: 15px;
}

.security-warning p {
    color: #333;
    margin-bottom: 10px;
}

.security-warning ul {
    margin-top: 10px;
}

.security-warning li {
    color: #333;
    margin-bottom: 8px;
}

.security-footer {
    margin-top: 15px;
    font-weight: 600;
    color: #d32f2f;
}
