/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    color: #00cc33;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 204, 51, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00cc33, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { opacity: 0; }
    50% { opacity: 0.6; }
    100% { opacity: 0; }
}

header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 
        0 0 5px #00cc33,
        0 0 10px #00cc33;
    letter-spacing: 3px;
    font-weight: bold;
    position: relative;
}

header h1::after {
    content: '_';
    animation: blink 1.5s infinite;
    color: #00cc33;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

header p {
    font-size: 1.2rem;
    color: #00aa44;
    text-shadow: 0 0 3px #00aa44;
    letter-spacing: 1px;
}

/* Main content layout */
.main-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00cc33;
    border-radius: 0;
    box-shadow: 
        0 0 10px rgba(0, 204, 51, 0.2),
        inset 0 0 10px rgba(0, 204, 51, 0.05);
    overflow: hidden;
    min-height: 700px;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 204, 51, 0.02) 50%, transparent 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 204, 51, 0.01) 2px,
            rgba(0, 204, 51, 0.01) 4px
        );
    pointer-events: none;
}

/* Sidebar */
.sidebar {
    background: rgba(0, 0, 0, 0.95);
    padding: 25px;
    border-right: 1px solid #00cc33;
    position: relative;
    z-index: 1;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00cc33, transparent);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.6; }
}

.btn {
    padding: 12px 20px;
    border: 1px solid;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(0, 204, 51, 0.08);
    color: #00cc33;
    border-color: #00cc33;
    box-shadow: 0 0 5px rgba(0, 204, 51, 0.2);
}

.btn-primary:hover {
    background: rgba(0, 204, 51, 0.15);
    box-shadow: 0 0 10px rgba(0, 204, 51, 0.3);
    transform: translateY(-1px);
}

.btn-success {
    background: rgba(0, 170, 68, 0.08);
    color: #00aa44;
    border-color: #00aa44;
    box-shadow: 0 0 5px rgba(0, 170, 68, 0.2);
}

.btn-success:hover {
    background: rgba(0, 170, 68, 0.15);
    box-shadow: 0 0 10px rgba(0, 170, 68, 0.3);
}

.btn-danger {
    background: rgba(204, 0, 51, 0.08);
    color: #cc0033;
    border-color: #cc0033;
    box-shadow: 0 0 5px rgba(204, 0, 51, 0.2);
}

.btn-danger:hover {
    background: rgba(204, 0, 51, 0.15);
    box-shadow: 0 0 10px rgba(204, 0, 51, 0.3);
}

.btn-secondary {
    background: rgba(0, 153, 255, 0.08);
    color: #0099ff;
    border-color: #0099ff;
    box-shadow: 0 0 5px rgba(0, 153, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 153, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.3);
}

/* Access section */
.access-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00cc33;
    border-radius: 0;
    position: relative;
}

.access-section h3 {
    margin-bottom: 15px;
    color: #00cc33;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #00cc33;
}

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

.access-section .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #00aa44;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.access-section .form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00cc33;
    border-radius: 0;
    color: #00cc33;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.access-section .form-group input:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.3);
    background: rgba(0, 0, 0, 0.95);
}

.access-section .form-group input::placeholder {
    color: #00cc3380;
    font-style: italic;
}

/* Stored enclaves section */
.stored-enclaves {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #0099ff;
    border-radius: 0;
}

.stored-enclaves h3 {
    margin-bottom: 10px;
    color: #0099ff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #0099ff;
}

.help-text {
    font-size: 11px;
    color: #00aa4480;
    margin-bottom: 15px;
    font-style: italic;
}

.stored-enclaves-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stored-enclave-item {
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00cc33;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.stored-enclave-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 51, 0.05), transparent);
    transition: left 0.5s;
}

.stored-enclave-item:hover::before {
    left: 100%;
}

.stored-enclave-item:hover {
    border-color: #0099ff;
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.2);
    transform: translateX(3px);
}

.stored-enclave-name {
    font-weight: bold;
    margin-bottom: 4px;
    color: #00cc33;
    text-shadow: 0 0 3px #00cc33;
}

.stored-enclave-id {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 10px;
    color: #00aa4480;
    word-break: break-all;
    letter-spacing: 0.5px;
}

/* Current enclave info */
.current-enclave {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 204, 51, 0.05);
    border: 1px solid #00cc33;
    border-radius: 0;
    position: relative;
}

.current-enclave h3 {
    margin-bottom: 10px;
    color: #00cc33;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #00cc33;
}

.enclave-info {
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.enclave-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #00cc33;
    text-shadow: 0 0 3px #00cc33;
}

.enclave-id {
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 11px;
    color: #00aa4480;
    margin-bottom: 15px;
    word-break: break-all;
    letter-spacing: 0.5px;
}

.enclave-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.enclave-actions .btn {
    flex: 1;
    min-width: 120px;
    font-size: 12px;
    padding: 8px 12px;
}

/* Editor area */
.editor-area {
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.welcome-message {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.welcome-message::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 204, 51, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
}

.welcome-message h2 {
    color: #00cc33;
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-shadow: 0 0 10px #00cc33;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.welcome-message p {
    color: #00aa44;
    margin-bottom: 40px;
    font-size: 1.2rem;
    text-shadow: 0 0 5px #00aa44;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.features {
    display: grid;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature {
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00cc33;
    border-radius: 0;
    border-left: 4px solid #00cc33;
    position: relative;
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: #0099ff;
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.2);
    transform: translateX(5px);
}

.feature strong {
    color: #00cc33;
    text-shadow: 0 0 3px #00cc33;
}

/* Editor container */
.editor-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #00cc33;
    position: relative;
}

.editor-header h2 {
    color: #00cc33;
    text-shadow: 0 0 5px #00cc33;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.editor-actions {
    display: flex;
    gap: 15px;
}

#noteEditor {
    flex: 1;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00cc33;
    border-radius: 0;
    padding: 20px;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: #00cc33;
    resize: none;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
}

#noteEditor:focus {
    border-color: #0099ff;
    box-shadow: 
        0 0 10px rgba(0, 153, 255, 0.3),
        inset 0 0 10px rgba(0, 153, 255, 0.05);
    background: rgba(0, 0, 0, 0.98);
}

#noteEditor::placeholder {
    color: #00cc3380;
    font-style: italic;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(3px);
    overflow-y: auto;
}

.modal-content {
    background: rgba(0, 0, 0, 0.98);
    margin: 2% auto;
    padding: 30px;
    border: 1px solid #00cc33;
    border-radius: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    position: relative;
    box-shadow: 
        0 0 20px rgba(0, 204, 51, 0.3),
        inset 0 0 20px rgba(0, 204, 51, 0.05);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.close {
    color: #00cc33;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 20px;
    text-shadow: 0 0 5px #00cc33;
    transition: all 0.3s ease;
}

.close:hover {
    color: #cc0033;
    text-shadow: 0 0 8px #cc0033;
    transform: scale(1.05);
}

.modal h2 {
    margin-bottom: 25px;
    color: #00cc33;
    text-shadow: 0 0 8px #00cc33;
    font-size: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #00aa44;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 3px #00aa44;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00cc33;
    border-radius: 0;
    color: #00cc33;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0099ff;
    box-shadow: 0 0 10px rgba(0, 153, 255, 0.3);
    background: rgba(0, 0, 0, 0.95);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #00cc3380;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    position: sticky;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 0;
    border-top: 1px solid rgba(0, 204, 51, 0.3);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    filter: blur(2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        gap: 20px;
    }
    
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #00ff41;
    }
    
    .container {
        padding: 15px;
    }
    
    header h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 20px;
        max-height: 85vh;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .editor-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .features {
        gap: 15px;
    }
    
    .feature {
        padding: 15px;
    }
    
    .enclave-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .enclave-actions .btn {
        min-width: auto;
        width: 100%;
    }
    
    .key-mode-selector {
        padding: 12px;
        gap: 10px;
    }
    
    .radio-option {
        padding: 10px 12px;
    }
    
    .radio-label {
        font-size: 12px;
    }
    
    #customKeyGroup {
        padding: 15px;
        margin-top: 15px;
    }
    
    .help-text {
        padding: 6px;
    }
    
    .help-text p {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    .welcome-message h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        margin: 2% auto;
        padding: 15px;
        max-height: 90vh;
        width: 98%;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .modal h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .key-mode-selector {
        padding: 10px;
        gap: 8px;
    }
    
    .radio-option {
        padding: 8px 10px;
    }
    
    .radio-label {
        font-size: 11px;
    }
    
    #customKeyGroup {
        padding: 12px;
        margin-top: 12px;
    }
    
    .help-text {
        padding: 5px;
    }
    
    .help-text p {
        font-size: 9px;
        margin: 3px 0;
    }
    
    .form-actions {
        margin-top: 20px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* Success Modal Styles */
.success-content {
    padding: 20px 0;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.warning-box strong {
    color: #ffc107;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.warning-box p {
    color: #ffc107;
    margin: 0;
    font-size: 14px;
}

.info-section {
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item label {
    display: block;
    color: #00cc33;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.copy-field {
    display: flex;
    gap: 10px;
    align-items: center;
}

.copy-field input {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00cc33;
    border-radius: 4px;
    padding: 12px;
    color: #00cc33;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.copy-field input:focus {
    box-shadow: 0 0 8px rgba(0, 204, 51, 0.3);
    border-color: #00ff44;
}

.copy-btn {
    background: rgba(0, 153, 255, 0.1);
    color: #0099ff;
    border: 1px solid #0099ff;
    border-radius: 4px;
    padding: 12px 16px;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(0, 153, 255, 0.2);
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.3);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.info-note {
    background: rgba(0, 204, 51, 0.05);
    border: 1px solid rgba(0, 204, 51, 0.3);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 25px;
}

.info-note p {
    margin: 5px 0;
    color: #00cc33;
    font-size: 14px;
}

.info-note p:first-child {
    margin-top: 0;
}

.info-note p:last-child {
    margin-bottom: 0;
}

/* Copy button feedback */
.copy-btn.copied {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border-color: #28a745;
}

.copy-btn.copied::after {
    content: " ✓";
}

/* Notification animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Key mode selector styles */
.key-mode-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00cc33;
    border-radius: 0;
    position: relative;
}

.key-mode-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00cc33, transparent);
    animation: scan 2s linear infinite;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.radio-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 204, 51, 0.1), transparent);
    transition: left 0.5s;
}

.radio-option:hover::before {
    left: 100%;
}

.radio-option:hover {
    background: rgba(0, 204, 51, 0.1);
    border-color: #00cc33;
    box-shadow: 0 0 8px rgba(0, 204, 51, 0.2);
    transform: translateX(3px);
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    accent-color: #00cc33;
    transform: scale(1.2);
    cursor: pointer;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #00ff44;
    text-shadow: 0 0 5px #00ff44;
}

.radio-label {
    font-size: 13px;
    color: #00cc33;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
}

/* Custom key input group with smooth transitions */
#customKeyGroup {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #0099ff;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(-10px);
}

#customKeyGroup.show {
    opacity: 1;
    transform: translateY(0);
}

#customKeyGroup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0099ff, transparent);
    animation: scan 2s linear infinite;
}

#customKeyGroup label {
    color: #0099ff;
    text-shadow: 0 0 3px #0099ff;
}

#customKeyGroup input {
    border-color: #0099ff;
    background: rgba(0, 0, 0, 0.95);
}

#customKeyGroup input:focus {
    border-color: #00ff44;
    box-shadow: 0 0 10px rgba(0, 255, 68, 0.3);
}

.help-text {
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 4px;
}

.help-text p {
    margin: 4px 0;
    font-size: 11px;
    color: #ffc107;
}

.help-text p:first-child {
    margin-top: 0;
}

.help-text p:last-child {
    margin-bottom: 0;
}

/* Success Message Modal Styles */
.success-message-content {
    padding: 20px 0;
    text-align: center;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #28a745;
}

.success-message-text {
    color: #28a745;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* Error Modal Styles */
.error-content {
    padding: 20px 0;
    text-align: center;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff4444;
}

.error-message {
    color: #ff4444;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 20px;
}

/* Confirmation Modal Styles */
.confirm-content {
    padding: 20px 0;
    text-align: center;
}

.confirm-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ffc107;
}

.confirm-message {
    color: #00cc33;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 20px;
}

.confirm-message strong {
    color: #ffc107;
    display: block;
    margin-bottom: 10px;
}

/* Share Modal Styles */
.share-content {
    padding: 20px 0;
}

.share-content p {
    color: #00cc33;
    margin-bottom: 15px;
    font-size: 14px;
}

.share-content code {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00cc33;
    border-radius: 4px;
    color: #00ff44;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    word-break: break-all;
    white-space: pre-wrap;
}
