/* === DARK MODE ELEGANT THEME === */

body {
    background: #0d0d16;
    color: #eee;
    font-family: "Poppins", sans-serif;
}

/* Welcome Area */
.welcome-title {
    color: #c4b5ff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.welcome-desc {
    color: #bbbbd7;
    margin-top: 20px;
    font-size: 17px;
}

/* Card */
.card-pro {
    background: rgba(25, 25, 40, 0.75);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(120, 120, 160, 0.25);
    box-shadow: 0 0 30px rgba(80, 30, 200, 0.15);
    backdrop-filter: blur(10px);
}

.card-pro h3 {
    color: #a78bfa;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Divider */
.divider-pro {
    border: 0;
    margin: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* Label */
.label-pro {
    color: #cfc9ff;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* Form Controls */
.form-control {
    background: rgba(35, 35, 50, 0.8);
    border: 1px solid rgba(130, 130, 160, 0.3);
    color: #eee;
    padding: 10px 12px;
    border-radius: 12px;
}

.form-control:focus {
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.28);
    background: rgba(45, 45, 65, 0.9);
    color: #fff;
}

/* Select Custom Glow */
select.form-control {
    appearance: none;
    padding-right: 30px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='8' fill='%23c4b5ff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c4b5ff' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Button */
.btn-pro {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    color: white;
    transition: 0.25s;
    width: 100%;
    text-align: center;
}

.btn-pro:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(120, 60, 255, 0.45);
}

/* --- Undo Redo Buttons --- */
.undo-redo-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-pro-small {
    background: rgba(60, 40, 130, 0.5);
    border: 1px solid rgba(130, 100, 255, 0.35);
    padding: 8px 15px;
    border-radius: 12px;
    color: #e3d7ff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.25s;
}

.btn-pro-small:hover {
    background: rgba(110, 70, 230, 0.7);
    box-shadow: 0 0 12px rgba(160, 80, 255, 0.35);
}

/* Canvas Preview */
.preview-pro {
    background: rgba(20, 20, 35, 0.6);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(80, 30, 200, 0.12);
    border: 1px solid rgba(120, 120, 160, 0.25);
}

canvas {
    width: 100% !important;
    border-radius: 10px;
    image-rendering: crisp-edges;
}

/* Fix Column Spacing */
.row .form-group {
    margin-bottom: 15px;
}

/* Improve spacing between welcome and card */
#MagerNulis {
    margin-top: 40px;
}

/* --- SELECT IMPROVED STYLE --- */

.select-wrapper {
    position: relative;
    width: 100%;
}

.fancy-select {
    appearance: none;
    width: 100%;
    background: rgba(35, 35, 50, 0.8);
    border: 1px solid rgba(130, 130, 160, 0.35);
    color: #e8e4ff;
    padding: 12px 18px;
    padding-right: 40px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s ease;
}

/* Glow saat fokus */
.fancy-select:focus {
    outline: none;
    border-color: #a78bfa;
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.32);
    background: rgba(45, 45, 65, 0.92);
}

/* Panah Select Custom */
.select-wrapper::after {
    content: "⌄";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #c4b5ff;
    font-size: 16px;
    pointer-events: none;
    opacity: 0.8;
}

/* Hover */
.fancy-select:hover {
    background: rgba(45, 45, 65, 0.9);
}

/* Kolom kiri-kanan jarak rapi */
.row.g-3 > div {
    margin-bottom: 10px;
}

/* ===== Modern Footer Style ===== */
.footer-modern {
    margin-top: 30px;
    padding: 25px 0;
    text-align: center;
    color: #e5d8ff;
    font-size: 15px;
    font-weight: 500;

    background: rgba(25, 25, 45, 0.35);
    backdrop-filter: blur(10px);

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: center;
    gap: 6px;
}

/* Teks normal */
.footer-modern span {
    color: #b9a8ff;
}

/* Link */
.footer-modern a {
    color: #c4b5ff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s;
}

/* Hover efek neon */
.footer-modern a:hover {
    color: #ffffff;
    text-shadow: 0 0 9px #a78bfa;
}
