/* Encryptor Page Styles */
.encryptor-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.encryptor-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.encryptor-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.encryptor-content {
    padding: 3rem 0;
    background: var(--bg-secondary);
    min-height: 80vh;
}

.encryptor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.encryptor-form-panel,
.encryptor-output-panel {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.info-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-box h4,
.warning-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box ul,
.warning-box ul,
.info-box ol {
    margin-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.info-box li,
.warning-box li {
    margin-bottom: 0.5rem;
}

.encryptor-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label span {
    font-weight: 600;
}

.input.data {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: 'Monaco', 'Courier New', monospace;
}

.input.data:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input.data[readonly] {
    background: var(--bg-secondary);
    cursor: text;
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: -0.5rem;
}

.switch-field-label {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
}

.switch-field {
    display: flex;
    gap: 0.5rem;
}

.switch-field input[type="radio"] {
    display: none;
}

.switch-field label {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    margin: 0;
}

.switch-field input[type="radio"]:checked + label {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tooltip-icon {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    color: var(--text-secondary);
    cursor: help;
}

.tooltip-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.output-header {
    margin-bottom: 2rem;
}

.output-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.encrypted-output {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.copy-field {
    display: flex;
    gap: 0.5rem;
}

.copy-field input {
    flex: 1;
}

.copy-field button {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1.125rem;
}

@media (max-width: 1024px) {
    .encryptor-layout {
        grid-template-columns: 1fr;
    }
}


