/* Global Font and Background */
body {
    font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: #f4f6f9;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    padding: 1.2rem 1.5rem;
    border-bottom: none;
    font-weight: 600;
}

/* Custom Header Backgrounds */
.header-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
}

.header-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
    color: white;
}

/* Form Controls */
.form-control {
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #eaecf4;
    transition: all 0.3s;
}

.form-control:focus {
    box-shadow: none;
    border-color: #4e73df;
    background-color: #fff;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 600;
    transition: transform 0.2s;
    border: none;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.btn-primary { background: linear-gradient(to right, #4e73df, #224abe); }
.btn-success { background: linear-gradient(to right, #1cc88a, #13855c); }
.btn-danger { background: linear-gradient(to right, #e74a3b, #be2617); }

/* Output Box Styling */
.output-box {
    background-color: #f8f9fc;
    border: 2px dashed #d1d3e2;
    border-radius: 10px;
    padding: 1.5rem;
    min-height: 120px;
    font-size: 1.1rem;
    color: #5a5c69;
    word-break: break-all;
    white-space: pre-wrap;
}

/* Code Block */
.code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    background-color: #2d3748;
    color: #edf2f7;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #4e73df;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1cc88a, #13855c);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1050;
    font-weight: 500;
}
.notification.show {
    transform: translateX(0);
}
.notification.error {
    background: linear-gradient(135deg, #e74a3b, #be2617);
}

.page-title {
    color: #2c3e50;
    font-weight: 800;
    letter-spacing: -0.5px;
}
