/* ツールページ共通スタイル */

.tool-interface {
    padding: 20px 0;
}

.tool-header {
    color: #ffff00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #00ff00;
}

.tool-form {
    background: #001100;
    border: 1px solid #00ff00;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0;
}

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

.form-label {
    color: #00ff00;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 8px;
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

textarea.form-input {
    resize: vertical;
}

.btn {
    background: #00ff00;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.2s;
}

.btn:hover {
    background: #00dd00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

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

.btn-secondary:hover {
    background: #00ff00;
    color: #000;
}

.output-area {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #00ff00;
    background: #000;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-link {
    color: #ffff00;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.exit-link:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tool-form {
        padding: 15px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}