@font-face {
    font-family: 'yantramanavbold';
    src: url('../fonts/yantramanav_bold-webfont.eot');
    src: url('../fonts/yantramanav_bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/yantramanav_bold-webfont.woff2') format('woff2'), url('../fonts/yantramanav_bold-webfont.woff') format('woff'), url('../fonts/yantramanav_bold-webfont.ttf') format('truetype'), url('../fonts/yantramanav_bold-webfont.svg#yantramanavbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

.commoncntarea {
    padding-top: 20px;
}

.autowhite .cntwrapper,
.autogray .cntwrapper {
    padding: 60px 0;
}

.ssltoolbox {
    padding: 12px 0 0 0;
}

.ssltoolbox p {
    margin-bottom: 15px;
}

.ssltoolbox p:last-child {
    margin-bottom: 0px;
}

.ssltoolbox h3 {
    font-size: 30px;
}

.ssltoolbox h4 {
    font-size: 30px;
    line-height: 34px;
}

.ssltoolbox ul {
    margin: 0 0 0 45px;
}

.ssltoolbox ul li {
    line-height: 24px;
}

.toolsimg {
    float: left;
    width: 30%;
}

.toolsimg img {
    max-width: 250px;
    height: auto;
}

.toolstxt {
    float: left;
    width: 70%;
}

.toolstxt h4 {
    color: #4f4f4f;
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 3px;
}

.toolstxt p+p {
    margin-top: 15px;
}

.sslconvoli {
    margin: 0 0 15px 50px;
}

.sslconvoli ul,
.sslconvoli ol {
    list-style: circle;
}

.sslconvoli ul li,
.sslconvoli ol li {
    margin-bottom: 5px;
}

.sslconvoli ul li a,
.sslconvoli ol li a {
    font-weight: bold;
}

.sslcmnbtn {
    border: 2px solid #f07725;
    color: #FFF;
    font-size: 30px;
    padding: 16px 20px 15px;
    text-decoration: none;
    font-family: 'yantramanavbold';
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    line-height: 28px;
    background: #f07725;
    display: inline-block;
}

.sslcmnbtn:hover {
    background: none;
    color: #f07725;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    -o-transition: all 0.7s;
    transition: all 0.7s;
}

.sslistool {
    padding-bottom: 40px;
}

.container h1,
.page-title h1 {
    font-size: 2.2rem;
    padding-bottom: 0px;
    color: #29306C;
}

.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 !important;
    flex: 1 !important;
    min-width: 200px !important;
}

select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #d1d9e6 !important;
    border-radius: 6px !important;
    background-color: white !important;
    font-size: 1rem !important;
    color: #333 !important;
    appearance: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

select:focus {
    outline: none !important;
    border-color: #4a90e2 !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2) !important;
}

.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: #54a447;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #54a447;
}

.btn:hover {
    color: #54a447;
    background: transparent;
    -moz-transition: all 0.7s;
    -webkit-transition: all 0.7s;
    -o-transition: all 0.7s;
    transition: all 0.7s;
    border: 1px solid #54a447;
}

.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 !important;
}

.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: #54a447;
    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;
}

.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;
}

/* Breadcrumb spacing */
.contentinners .breadcrumbsbar #breadcrumbs {
    margin-bottom: 25px !important;
}