:root{
    --color-green: #74CD71; 
    --color-black: #000000;
    --color-lightgrey: #E9EEF1;
    --color-lightblue: #015B8C;
    --color-darkblue: #023554;
    --color-greytext: #48565e;
    --color-white: #FFFFFF;
    --color-bglight-border: #cfe1eb; 
}
pre, code, kbd, samp {display: block; padding: 5px 7px;margin: 0 0 15px; line-height: 1.6; word-break: break-all; word-wrap: break-word; color: var(--color-black); background-color: var(--color-lightgrey); border: 1px solid var(--color-lightgrey); font-family: monospace,monospace; font-size: 1em; }
.slide-container{border-radius: 0;}
.toolsdtl .article-entry h3 {color: var(--color-lightblue);}
.toolsdtl .article-entry h4{color: var(--color-greytext);}
.article-entry.ssl-install{padding-bottom: 25px;}
.toolltimg { width: 172px; }
.toolrttxt { width: 79%;}
.toollttxt { width: 79%;}
.checkhostname .form-row + .form-row{margin-top:20px;}
.checkhostname .field { border: 1px solid var(--color-lightgrey);color: var(--color-black); font-size: 15px; padding: 12px; width: 100%; background-color: var(--color-lightgrey); }
.checkhostname .form-label { font-weight: 700; margin-right: 20px; width:150px;color: var(--color-greytext);}
.checkhostname .checkbtn{padding-left:170px;padding-top: 20px;}
.checkhostname .form-controls {margin-right: 25px; width: 450px;}
.form-hint { color: var(--color-black); font-size: 12px; font-style: italic; line-height: 1; padding-bottom: 0px; padding-top: 13px; }
.greendownarrow { padding:30px 0px; text-align: center; }
.orangelock { background: url(../images/checker-orangelock.png) no-repeat right bottom var(--color-lightgrey); }
.greenlock { background: url(../images/checker-greenlock.png) no-repeat right bottom var(--color-lightgrey); }
.domaindtl { padding-bottom: 25px; }
.article-entry .csrgreybox .list-green-bullets { margin-left: 0px; }
.csrgreybox{border-radius: 0px;}
.list-green-bullets strong{color: var(--color-darkblue);}
.article-primary{width: 100%;}
.csrbox {padding: 48px 0;}
.csrbox textarea { border: 1px solid var(--color-lightgrey);background-color: var(--color-lightgrey);color: var(--color-black); font-size: 15px; padding: 12px; width: 100%; height: 410px; }
.error {color:#A34A4A;font-size:12px;display: block}
.success{color: var(--color-green);}
.csrinfo { background: url(../images/csrinfoimg.png) no-repeat right bottom var(--color-lightgrey); }
.csrinfo ul li span { color: var(--color-lightblue); }
.keymatcher { border-top: 1px solid var(--color-lightgrey); padding: 20px 0px 0; }
.keymatcher textarea { border: 1px solid var(--color-lightgrey);color: var(--color-black); font-size: 15px; padding: 12px; width: 100%; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.keymatcher .form-controls{padding-bottom:30px;}
.urldtl { margin-top: 25px; }
.generatedcsr { margin-top: 50px; }
#results p{padding:0;}
#results .errormsg{background: url(../images/ico-msg-error.png) 10px 12px no-repeat #efa3a3 ; color:#A34A4A; margin-bottom:20px; padding:10px 10px 10px 40px !important; font-size: 15px;}
.note{color: var(--color-darkblue);font-weight: normal;font-size: 12px;line-height: 16px;margin-top: 5px}
.sslconvert-form .form-controls { padding: 0px 0px 0px 20px; width: 40%; float: left; }
.csrgreybox table{font-size: 15px;}
.csrgreybox p{word-break: break-all;}
.notification-error {background: url(../images/ico-msg-error.png) 10px 12px no-repeat #efa3a3 ; color:#A34A4A; margin-bottom:20px; padding:10px 10px 10px 40px !important; font-size: 15px;}
.notification-notice {background: url(../images/ico-msg-warning.png) 10px 12px no-repeat #f8f7d3; color:#8f8d5d; margin-bottom: 20px; padding:10px 10px 10px 40px !important; font-size: 15px; }
.toolrttxt a:hover{text-decoration:none;}
textarea.error, .field.error{border:1px solid #A34A4A !important;}
.alertmsg{position: relative; }
.close {position: absolute; right: 7px; top: 7px; height: 10px; display: block; cursor: pointer;}
.close img {vertical-align: top; }
.csrbox .form-row + .form-row{margin-top:20px;}
.whynopadlock .form-label strong{color:#A34A4A;}
.checkhostname .notification-sucess{margin:30px 0 0 0;}
.domainchecktbl{border: 1px solid var(--color-lightgrey); font-size:13px;}
.domainchecktbl tr:first-child{background: var(--color-lightgrey); font-weight:bold;}
.domainchecktbl tr:first-child td{padding: 10px;}
.domainchecktbl tr td{padding:5px 10px;}
.domainchecktbl tr + tr td{border-top: 1px solid var(--color-lightgrey);}
.domainchecktbl tr td + td{border-left: 1px solid var(--color-lightgrey); text-align:center;}
.g-recaptcha .error{margin-top: -10px;}
.cacheck {display: inherit}
.bigalertmsg{padding:15px !important; background-image:none; font-size:20px; line-height:26px;}
.loader {display: none;height: 100px;width: 100%;text-align: center;margin: 0 auto;}
.loader > img{width:100px;}
.alert {background: url(../images/icon_alert.png) no-repeat 5px; padding: 10px 45px; clear: both; color: #C09853; background-color: #fcf8e3; border: 1px solid var(--color-lightgrey);margin-bottom: 20px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); font-size: 14px; line-height: 22px; }
/* Responsive */
@media only screen and (max-width: 1024px) 
{
    input[type=text], input[type=submit], input[type=button] {-webkit-appearance: none;}
    .shell {max-width: 728px;}
    .main-bar {display: none;}
    .csrbox textarea{height: auto;}
    .toollttxt, .toolrttxt {width: 100%;}
    .toolsdtl .article-entry {padding: 20px 0px;}
    .toolsdtl .article-entry{flex-direction: column;padding: 30px;}
    .toolltimg {width: 100%;text-align: center;padding-bottom: 20px;}
    .toolrtimg {width: 100%;text-align: center;padding-bottom: 20px;}
    .toolrtimg{order: 1;}
    .toollttxt{order: 2;}
    .toolrttxt, .toollttxt{width: 100%;text-align: center;}
    .toolltimg img, .toolrtimg img{height: 150px;}
    .toolrtimg {width: 100%;text-align: center;padding-top: 20px;}
    .article.article-entry .alignright{text-align: center;}
}
@media only screen and (max-width: 580px) 
{
    .orangelock,.greenlock{background-image: none;}
}


/* ═══════════════════════════════════════════════════════════════════════════
   caa-record-generator.css
   Location: /ssl-tools/css/caa-record-generator.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══ 0. FIELD ERRORS — HIDDEN BY DEFAULT ═══ */
.field-err {
    display: none !important;
    color: #a94442;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
}

.field-err[style*="display: block"],
.field-err[style*="display:block"] {
    display: block !important;
}

/* ═══ 1. RESULT WRAPPER ═══ */
.caa-result-wrap {
    margin-top: 20px;
    font-size: 14px;
}

/* ═══ 2. INFO BOX (Same as SSL Checker / Why No Padlock) ═══ */
.padlock-info-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 22px;
    background: #f9f9f9;
}

.padlock-info-box table {
    border-collapse: collapse;
    width: auto;
    border: none;
    background: none;
}

.padlock-info-box table tr {
    background: none;
    border: none;
}

.padlock-info-box table tr td {
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    vertical-align: middle;
    border: none;
    background: none;
}

.padlock-info-box table tr td:first-child {
    font-weight: 700;
    color: #333;
    padding-right: 15px;
    white-space: nowrap;
    width: 140px;
    min-width: 140px;
}

.padlock-info-box table tr td:last-child {
    color: #337ab7;
    font-weight: 400;
}

/* ═══ 3. CHECKLIST (Green circles) ═══ */
.padlock-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-top: 1px solid #ebebeb;
}

.padlock-check-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ebebeb;
    font-size: 14px;
    line-height: 1.5;
}

.padlock-check-list li .check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: #5cb85c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-right: 14px;
    flex-shrink: 0;
}

.padlock-check-list li .check-text {
    color: #333;
    flex: 1;
}

.padlock-check-list li .check-text .record-mono {
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    color: #555;
    word-break: break-all;
}

/* ═══ 4. SECTIONS (Record boxes) ═══ */
.caa-section {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.caa-section-header {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 12px 16px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.caa-section-body {
    padding: 16px;
    background: #fff;
}

/* ═══ 5. RECORD BOX (pre block) ═══ */
.caa-record-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 14px 16px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #333;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0 0 12px 0;
    overflow-x: auto;
}

/* ═══ 6. COPY BUTTON ═══ */
.caa-copy-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #337ab7;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.caa-copy-btn:hover {
    background: #286090;
}

.caa-copy-btn.copied {
    background: #5cb85c;
}

/* ═══ 7. DNS TABLE (inside result) ═══ */
.caa-section .domainchecktbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.caa-section .domainchecktbl th {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 8px 12px;
    font-weight: 700;
    color: #333;
    text-align: left;
}

.caa-section .domainchecktbl td {
    border: 1px solid #ddd;
    padding: 7px 12px;
    color: #555;
    font-size: 13px;
}

.caa-section .domainchecktbl tr:nth-child(even) td {
    background: #fafafa;
}

/* ═══ 8. NOTE BOX ═══ */
.caa-note {
    background: #fcf8e3;
    border: 1px solid #faebcc;
    border-radius: 4px;
    padding: 12px 15px;
    color: #8a6d3b;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.6;
}

/* ═══ 9. FORM TABLE (CA checkboxes) ═══ */
.domainchecktbl {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.domainchecktbl tr td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: middle;
}

.domainchecktbl tr:first-child td {
    font-weight: 700;
    color: #333;
    background: #f9f9f9;
    border-bottom: 2px solid #ddd;
}

.domainchecktbl .note {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.domainchecktbl input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ═══ 10. LOADER ═══ */
.loader {
    display: none;
    text-align: center;
    padding: 20px 0;
}

/* ═══ 11. RESPONSIVE ═══ */
@media (max-width: 767px) {
    .padlock-info-box {
        padding: 12px 14px;
    }

    .padlock-info-box table tr td:first-child {
        width: 120px;
        min-width: 120px;
    }

    .caa-record-box {
        font-size: 11px;
        padding: 10px 12px;
    }

    .caa-section .domainchecktbl {
        font-size: 11px;
    }

    .caa-section .domainchecktbl th,
    .caa-section .domainchecktbl td {
        padding: 6px 8px;
    }

    .padlock-check-list li .check-text .record-mono {
        font-size: 11px;
    }
}

   .container h1, .page-title h1 {
            font-size: 2.2rem;
            padding-bottom: 0px;
            color: #015b8c;
        }
        
        .container p, .page-title p {
            margin: 0 auto;
            color: #5a6c7d;
            padding-bottom: 5px;
        }
        
        .highlight {
            background-color: #e8f4fd;
            padding: 5px 8px;
            border-radius: 4px;
            font-weight: 600;
            color: #2c7be5;
        }
        
        .conversion-section {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 30px;
            margin-bottom: 40px;
        }
        
        .section-title {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #2c3e50;
            padding-bottom: 10px;
            border-bottom: 1px solid #eaeaea;
        }
        
        .conversion-form {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 30px;
        }
        
        .select-wrapper {
            position: relative;
            flex: 1;
            min-width: 200px;
        }
        
        select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #d1d9e6;
            border-radius: 6px;
            background-color: white;
            font-size: 1rem;
            color: #333;
            appearance: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        select:focus {
            outline: none;
            border-color: #4a90e2;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
        }
        
        .select-wrapper::after {
            content: "▼";
            font-size: 0.8rem;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            color: #7b8a9c;
        }
        
        .convert-text {
            font-weight: 600;
            color: #5a6c7d;
        }
        
        .btn {
            background-color: #74cd71 !important;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn:hover {
            background-color: #206272 !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
        }
        
        .conversion-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .conversion-card {
            background: white;
            border: 1px solid #e1e8f0;
            border-radius: 8px;
            padding: 20px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .conversion-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
            border-color: #4a90e2;
        }
        
        .conversion-card h3 {
            color: #2c3e50;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .conversion-card p {
            color: #7b8a9c;
            font-size: 0.9rem;
        }
        
        .file-types {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }
        
        .file-type {
            background: #f0f4f8;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            color: #4a5568;
        }
        
         .converter-interface {
            background: #f8fafc;
            padding: 30px;
            border-radius: 8px;
            margin-top: 30px;
            display: none;
        }
        
        .file-input-section {
            margin-bottom: 25px;
        }
        
        .file-input-group {
            margin-bottom: 20px;
            padding: 15px;
            background: white;
            border-radius: 6px;
            border: 1px solid #e1e8f0;
        }
        
        .file-input-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .file-input {
            width: 95%;
            padding: 12px;
            border: 1px solid #d1d9e6;
            border-radius: 6px;
            background: white;
        }
        
        .password-input {
            width: 95%;
            padding: 12px;
            border: 1px solid #d1d9e6;
            border-radius: 6px;
            margin-top: 10px;
        }
        
        .textarea-input {
            width: 100%;
            padding: 12px;
            border: 1px solid #d1d9e6;
            border-radius: 6px;
            min-height: 120px;
            font-family: monospace;
            resize: vertical;
        }
        
        .input-hint {
            font-size: 0.85rem;
            color: #6c757d;
            margin-top: 5px;
        }
        
        .conversion-result {
            margin-top: 25px;
            padding: 20px;
            background: #e8f4fd;
            border-radius: 6px;
            display: none;
        }
        
        .result-text {
            font-family: monospace;
            white-space: pre-wrap;
            word-break: break-all;
            margin-bottom: 15px;
            background: white;
            padding: 15px;
            border-radius: 4px;
            border: 1px solid #d1d9e6;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .download-btn {
            background-color: #74cd71;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            margin-right: 10px;
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }
        
        .alert {
            padding: 15px;
            border-radius: 6px;
            margin: 20px 0;
            display: none;
        }
        
        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .conversion-info {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .conversion-steps {
            margin: 15px 0;
            padding-left: 20px;
        }
        
        .conversion-steps li {
            margin-bottom: 8px;
        }
        /* Progress Bar */
        .progress-container {
            width: 100%;
            background-color: #e0e0e0;
            border-radius: 5px;
            margin: 15px 0;
            display: none;
        }
        
        .progress-bar {
            height: 10px;
            background-color: var(--primary);
            border-radius: 5px;
            width: 0%;
            transition: width 0.3s ease;
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 8px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }
        
        .modal-header {
            background-color: var(--danger);
            color: white;
            padding: 20px;
            display: flex;
            align-items: center;
        }
        
        .modal-header i {
            font-size: 1.5rem;
            margin-right: 10px;
        }
        
        .modal-header h3 {
            margin: 0;
            font-size: 1.3rem;
        }
        
        .modal-body {
            padding: 25px;
        }
        
        .modal-body p {
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .modal-footer {
            padding: 15px 25px;
            background-color: var(--light);
            display: flex;
            justify-content: flex-end;
            border-top: 1px solid #dee2e6;
        }
        
        .error-details {
            background-color: var(--light);
            border: 1px solid #e9ecef;
            border-radius: 4px;
            padding: 12px;
            margin-top: 15px;
            font-family: monospace;
            font-size: 0.9rem;
        }
        .ssl-converter {
        padding: 20px 0;
        }

.file-input-group {
  margin-bottom: 20px;
}
.file-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}
.file-input-group small {
  color: #555;
  display: block;
  margin-top: 4px;
}
.btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}
.btn:hover {
  background: #0056b3;
}

.file-inputs-group {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.file-input-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.file-input-row:last-child {
    margin-bottom: 0;
}

.file-input-row label {
    min-width: 140px;
    font-weight: 500;
}

.file-name-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

.status-message {
  margin-top: 12px;
  font-weight: 600;
}

.openssl-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.openssl-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.openssl-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.options-group {
    margin: 20px 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.option-checkbox input[type="checkbox"] {
    margin: 0;
}

.command-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin: 20px 0;
}

.command-box label {
    font-weight: 600;
    color: #2c3e50;
    display: block;
    margin-bottom: 10px;
}

.command-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.command-content code {
    flex: 1;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    word-break: break-all;
    line-height: 1.4;
    color: #e83e8c;
}

.copy-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    transition: background-color 0.2s;
    margin-top: 7px;
}

.copy-btn:hover {
    background: #5a6268;
}

.command-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

.command-note code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85em;
}

.conversion-form .form-group {display: flex;}
.conversion-form .form-group label {margin-right: 10px; align-self: center; font-weight: 600; color: #2c3e50;}


/* ============================================================
   SSL Converter Tool Styles
   Add these to /ssltools/css/ssltools.css
   ============================================================ */

/* --- Page Layout --- */
.ssl-converter { padding: 20px 0; }
.page-title h1 { font-size: 2.2rem; padding-bottom: 0; color: #015b8c; }
.page-title p { max-width: 800px; color: #5a6c7d; padding-bottom: 5px; }

/* --- Conversion Section --- */
.conversion-section { background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 30px; margin-bottom: 40px; }
.section-title { font-size: 1.3rem; margin-bottom: 20px; color: #2c3e50; padding-bottom: 10px; border-bottom: 1px solid #eaeaea; }

/* --- Dropdowns --- */
.conversion-form { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: center; background: #f8fafc; padding: 25px; border-radius: 8px; margin-bottom: 30px; }
.select-wrapper { position: relative; flex: 1; min-width: 200px; }
.select-wrapper select { width: 100%; padding: 12px 15px; border: 1px solid #d1d9e6; border-radius: 6px; background-color: white; font-size: 1rem; color: #333; appearance: none; cursor: pointer; transition: all 0.3s; }
.select-wrapper select:focus { outline: none; border-color: #4a90e2; box-shadow: 0 0 0 3px rgba(74,144,226,0.2); }
.select-wrapper::after { content: "▼"; font-size: 0.8rem; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #7b8a9c; }
.convert-text { font-weight: 600; color: #5a6c7d; }

/* --- Buttons --- */
.btn { background-color: #023554 !important; color: white !important; border: none; padding: 12px 25px; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-decoration: none; display: inline-block; }
.btn:hover { background-color: #206272 !important; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(74,144,226,0.3); }

/* --- Cards Grid --- */
.conversion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.conversion-card { background: white; border: 1px solid #e1e8f0; border-radius: 8px; padding: 20px; transition: all 0.3s; cursor: pointer; text-decoration: none; display: block; }
.conversion-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: #4a90e2; }
.conversion-card h3 { color: #2c3e50; margin-bottom: 10px; font-size: 1.1rem; }
.conversion-card p { color: #7b8a9c; font-size: 0.9rem; }
.file-types { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.file-type { background: #f0f4f8; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; color: #4a5568; }

/* --- File Input Groups --- */
.file-input-group { margin-bottom: 20px; padding: 15px; background: white; border-radius: 6px; border: 1px solid #e1e8f0; }
.file-input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #2c3e50; }
.file-input-group small { color: #555; display: block; margin-top: 4px; }
.file-input { width: 100%; padding: 12px; border: 1px solid #d1d9e6; border-radius: 6px; background: white; }
.password-input { width: 100%; padding: 12px; border: 1px solid #d1d9e6; border-radius: 6px; margin-top: 10px; }
.input-hint { font-size: 0.85rem; color: #6c757d; margin-top: 5px; }
.warning-text { color: #856404 !important; }

/* --- Status Messages --- */
.status-message { margin-top: 12px; font-weight: 600; }
.status-message.success { color: #155724; }
.status-message.error { color: #721c24; }

/* --- OpenSSL Section --- */
.openssl-section { margin-top: 40px; padding-top: 30px; border-top: 2px solid #eee; }
.openssl-section h2 { color: #2c3e50; margin-bottom: 15px; font-size: 1.5em; }
.openssl-section p { color: #666; line-height: 1.6; margin-bottom: 20px; }

/* --- Options Group --- */
.options-group { margin: 20px 0; display: flex; gap: 20px; flex-wrap: wrap; }
.option-checkbox { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #f8f9fa; border-radius: 4px; }
.option-checkbox input[type="checkbox"] { margin: 0; }
.options-note { display: block; margin-top: 5px; color: #6c757d; font-size: 0.85em; }

/* --- Command Box --- */
.command-box { background: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; margin: 20px 0; }
.command-box label { font-weight: 600; color: #2c3e50; display: block; margin-bottom: 10px; }
.command-content { display: flex; align-items: flex-start; gap: 15px; }
.command-content code { flex: 1; background: #fff; padding: 15px; border-radius: 6px; border: 1px solid #e9ecef; font-family: "Courier New", monospace; font-size: 0.9em; white-space: pre-wrap; word-break: break-all; line-height: 1.4; color: #e83e8c; display: block; }
.copy-btn { background: #6c757d; color: white; border: none; padding: 10px 15px; border-radius: 4px; cursor: pointer; font-size: 0.9em; white-space: nowrap; transition: background-color 0.2s; margin-top: 7px; }
.copy-btn:hover { background: #5a6268; }
.command-note { font-size: 0.9em; color: #666; font-style: italic; margin-top: 10px; }
.command-note code { background: #f8f9fa; padding: 2px 6px; border-radius: 3px; font-size: 0.85em; display: inline; color: #e83e8c; border: none; }

/* --- Info Note --- */
.info-note { background: #d1ecf1; border: 1px solid #bee5eb; border-radius: 6px; padding: 15px; margin-top: 20px; }
.info-note p { color: #0c5460; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .conversion-form { flex-direction: column; }
    .select-wrapper { min-width: 100%; }
    .options-group { flex-direction: column; gap: 10px; }
    .command-content { flex-direction: column; }
    .conversion-grid { grid-template-columns: 1fr; }
}

