/* 개별 도구 페이지 공통 스타일 */

.tool-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.tool-container h2 {
    color: #64b5f6;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.form-group label {
    display: block;
    color: #e0e6ed;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #e0e6ed;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #64b5f6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8a9ba8;
}

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(45deg, #64b5f6, #42a5f5);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #42a5f5, #2196f3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 181, 246, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.result-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-box h3 {
    color: #64b5f6;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.result-content {
    color: #e0e6ed;
    word-break: break-all;
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
}

/* QR 코드 특화 스타일 */
.qr-preview {
    text-align: center;
    margin-top: 20px;
}

.qr-preview canvas {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 색상 미리보기 */
.color-preview {
    width: 100%;
    height: 100px;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* 반응형 */
@media (max-width: 768px) {
    .tool-container {
        padding: 20px;
    }

    .button-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
