:root {
    --primary: #6d4c41;
    --dark-primary: #5d4037;
    --secondary: #8d6e63;
    --light: #f5f5dc;
    --green: #8bc34a;
    --dark-green: #689f38;
}

html {
    scroll-behavior: smooth;
}

.bg-theme {
    background-color: var(--primary) !important;
}

.text-theme {
    color: var(--primary) !important;
}

.text-light {
    color: var(--light) !important;
}

.border-light {
    border-color: var(--light) !important;
}

.min-vh-50 {
    min-height: 50vh !important;
}

.auth-area, .error-page {
    min-height: 100vh !important;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(173, 122, 105, 0.466);
    box-shadow: 0 0 0 .25rem rgba(173, 122, 105, 0.267);
}

/* Custom Button */
.btn-custom {
    background-color: var(--primary);
    color: var(--light);
}
.btn-custom:hover {
    color: #d3d3d3;
    background-color: var(--primary);
}
.btn-custom:active, 
.btn-custom:focus-visible {
    color: #d3d3d3 !important;
    background-color: var(--primary) !important;
}

.btn-custom-2, .btn-custom-2-alt {
    border: none;
    color: #fff;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-custom-2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-custom-2-alt {
    background: linear-gradient(135deg, var(--green), var(--green));
}

.btn-custom-2:hover,
.btn-custom-2:active,
.btn-custom-2:focus-visible,
.btn-custom-2-alt:hover,
.btn-custom-2-alt:active,
.btn-custom-2-alt:focus-visible {
    color: var(--light) !important;
}

.info-box .info-box-text {
    font-size: 1.1rem;
}

/* Custom Card */
.custom-card {
    border-top: 3px solid var(--primary) !important;
}

/* Image Preview */
.image-preview-container {
    width: 100%;
}

.image-preview-container .carousel-preview {
    max-width: 621px;
}

.carousel-preview .carousel-control-prev, 
.carousel-preview .carousel-control-next {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
}

/* Google reCAPTCHA Style */
.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    bottom: 6rem !important;
    right: 1.2rem !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

/* NProgress */
#nprogress .bar {
    background-color: var(--primary) !important; 
    z-index: 1050 !important;
}
#nprogress .peg {
    box-shadow: 0 0 10px var(--secondary), 0 0 10px var(--secondary) !important;
}

/* Resposive Style */
@media (max-width: 768px) {
    .auth-area, .error-page {
        min-height: calc(100vh - 56px) !important;
    }
}