.secure-note-container {
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 2rem 2rem 1.5rem 2rem;
    font-family: 'Poppins', Arial, sans-serif;
}
.secure-note-header {
    text-align: center;
    margin-bottom: 2rem;
}
.secure-note-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}
.secure-note-header p {
    color: #666;
    font-size: 1rem;
}
.secure-note-create, .secure-note-read {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.secure-note-create:last-child, .secure-note-read:last-child {
    border-bottom: none;
}
.secure-note-create h3, .secure-note-read h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    font-weight: 500;
}
#read-section {
    margin-bottom: 0;
}
input[type="password"], input[type="text"], textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}
textarea {
    min-height: 80px;
    resize: vertical;
}
button {
    background: #00c805;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 200, 5, 0.08);
    letter-spacing: 0.02em;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}
button:hover, button:focus {
    background: #00a004;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(0, 200, 5, 0.15);
    outline: none;
}
#create-link-result, #read-message-result {
    margin-top: 1rem;
    word-break: break-all;
    font-size: 1rem;
    color: #333;
}
.file-upload-label {
    display: inline-block;
    background: #fff;
    color: #333;
    border: 1.5px solid #ccc;
    border-radius: 14px;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0.5rem;
    margin-top: 0.2rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.file-upload-label:hover, .file-upload-label:focus {
    background: #f5f5f5;
    border-color: #00c805;
    color: #00c805;
    box-shadow: 0 2px 8px rgba(0,200,5,0.08);
    outline: none;
}
#file-name {
    display: block;
    font-size: 0.97rem;
    color: #888;
    margin-bottom: 0.5rem;
    margin-top: 0.1rem;
    word-break: break-all;
}
[data-theme="dark"] .secure-note-container {
    background: #111 !important;
    color: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
[data-theme="dark"] .secure-note-header h2,
[data-theme="dark"] .secure-note-header p {
    color: #fff;
} 