/* Tool-specific styling consistent with SkySlicer500 dark & teal theme */
.tool-wrapper {
    max-width: 950px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.tool-header {
    text-align: center;
    margin-bottom: 25px;
}

.tool-title {
    color: #01DAD0;
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(1, 218, 208, 0.4);
}

.tool-description {
    color: #a0a0a0;
    font-size: 1rem;
    max-width: 750px;
    margin: 0 auto 15px auto;
    line-height: 1.5;
}

.tool-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 2px 4px;
}

.badge-native {
    background: rgba(1, 218, 208, 0.15);
    color: #01DAD0;
    border: 1px solid #01DAD0;
}

.badge-warning {
    background: rgba(255, 179, 0, 0.15);
    color: #ffb300;
    border: 1px solid #ffb300;
}

.badge-pqc {
    background: rgba(187, 134, 252, 0.15);
    color: #bb86fc;
    border: 1px solid #bb86fc;
}

.tool-card {
    background: #1c1c1c;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tool-card-title {
    color: #01DAD0;
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #2e2e2e;
    padding-bottom: 8px;
}

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

.form-label {
    display: block;
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: #141414;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: #01DAD0;
    box-shadow: 0 0 8px rgba(1, 218, 208, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    line-height: 1.45;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    background: #1e1e1e;
    color: #fff;
}

.form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-col {
    flex: 1;
    min-width: 200px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #01DAD0;
    color: #141414;
}

.btn-primary:hover {
    background: #33e4dc;
    box-shadow: 0 0 15px rgba(1, 218, 208, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #01DAD0;
    border: 1px solid #01DAD0;
}

.btn-secondary:hover {
    background: rgba(1, 218, 208, 0.15);
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}

/* Dropzone for files */
.dropzone {
    border: 2px dashed #01DAD0;
    border-radius: 8px;
    background: rgba(1, 218, 208, 0.04);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.dropzone.dragover, .dropzone:hover {
    background: rgba(1, 218, 208, 0.12);
    border-color: #33e4dc;
    box-shadow: 0 0 15px rgba(1, 218, 208, 0.2);
}

.dropzone-icon {
    font-size: 2rem;
    color: #01DAD0;
    margin-bottom: 8px;
}

.dropzone-text {
    color: #c0c0c0;
    font-size: 0.95rem;
}

.dropzone-hint {
    color: #777;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Status alerts */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.alert-info {
    background: rgba(1, 218, 208, 0.1);
    border: 1px solid rgba(1, 218, 208, 0.3);
    color: #80f0e8;
}

.alert-warning {
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: #ffd54f;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #a5d6a7;
}

/* Output display box */
.output-box {
    position: relative;
    background: #0d0d0d;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    padding: 12px;
    color: #01DAD0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
    word-break: break-all;
    white-space: pre-wrap;
    max-height: 350px;
    overflow-y: auto;
}

.output-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.stat-item {
    background: #141414;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #01DAD0;
}

.stat-label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 3px;
}

/* Back to tools link */
.tool-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #282828;
}

.tool-nav-link {
    color: #01DAD0;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.tool-nav-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

