nav.navbar a.nav-link {
    color: #fff !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

nav.navbar a.nav-link:hover {
    color: #ffed4a !important;
}

body {
    background: url('../resources/background.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

body .card {
    border: 2px solid rgba(255, 237, 74, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 237, 74, 0.2);
    background-color: rgb(255 255 255 / 50%);
    border-radius: 1rem;
}

body .card.opacity-80 {
    background-color: rgb(255 255 255 / 80%);
}

/* Form Input Group Styling - Fit Background */
.input-group-text {
    background-color: #281a2e;
    border: 1px solid #ffed4a;
    color: #ffed4a !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 237, 74, 0.3);
}

.site-login .form-control {
    border: 2px solid #ffed4a;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
    color: #333 !important;
}

.site-login .form-control::placeholder {
    color: #999;
}

.site-login .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 0.3rem rgba(255, 237, 74, 0.3);
}

.site-login .control-label {
    color: #ffed4a !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-login .card-body {
    background: linear-gradient(to bottom, rgba(30, 20, 40, 0.98), rgba(40, 25, 50, 0.95)) !important;
    border-radius: 1rem;
    padding: 2rem;
}

.site-login .card {
    background: linear-gradient(to bottom, rgba(30, 20, 40, 0.98), rgba(40, 25, 50, 0.95)) !important;
}

.site-login .invalid-feedback,
.site-login .help-block,
.site-login .error,
.site-login .error-message {
    color: #ffed4a !important;
    font-weight: 500;
}

.site-login .form-text {
    color: #ffed4a !important;
}

.site-login p,
.site-login div {
    color: #fff !important;
}

/* Register Page Styling - Same as Login */
.site-register .form-control {
    border: 2px solid #ffed4a;
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
    color: #333 !important;
}

.site-register .form-control::placeholder {
    color: #999;
}

.site-register .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 0.3rem rgba(255, 237, 74, 0.3);
}

.site-register .control-label {
    color: #ffed4a !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.site-register .card-body {
    background: linear-gradient(to bottom, rgba(30, 20, 40, 0.98), rgba(40, 25, 50, 0.95)) !important;
    border-radius: 1rem;
    padding: 2rem;
}

.site-register .card {
    background: linear-gradient(to bottom, rgba(30, 20, 40, 0.98), rgba(40, 25, 50, 0.95)) !important;
}

.site-register .invalid-feedback,
.site-register .help-block,
.site-register .error,
.site-register .error-message {
    color: #ffed4a !important;
    font-weight: 500;
}

.site-register .form-text {
    color: #ffed4a !important;
}

.site-register p,
.site-register div {
    color: #fff !important;
}

.menu-li-bg {
    background: url('../resources/menu-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    min-width: 120px;
    height: 38px;
    text-align: center;
    color: #ffed4a;
}
.menu-li-bg a {
    margin-top: 5px;
    color: #ffed4a;
    font-weight: 600;
    transition: all 0.3s ease;
}
.menu-li-bg a:hover {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 237, 74, 0.5);
}

.heading-bg {
    background: url('../resources/heading-bg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    min-width: 120px;
    height: 38px;
    margin: 0 5px;
    text-align: center;
    color: #ffed4a;
    font-weight: 700;
}

.heading-bg:hover,
.heading-bg:hover button {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 237, 74, 0.5);
}

/* Login Button Redesign */
.btn-login {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%);
    color: #ffed4a !important;
    border: 2px solid #ffed4a;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%);
    transition: left 0.4s ease;
    border-radius: 8px;
    z-index: -1;
}

.btn-login:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%);
    color: #ffed4a !important;
    border-color: #ffd700;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 237, 74, 0.15);
    transform: translateY(-2px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-login i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(3px);
}

form div.required label:after {
    content: " *";
    color: #ffed4a;
    vertical-align: top;
    font-weight: bold;
}

/* Link Styling */
a {
    color: #281a2e;
    transition: all 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: #281a3e;
    text-shadow: 0 0 8px rgba(255, 237, 74, 0.4);
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-success {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-info {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-warning {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, rgba(30, 20, 40, 0.98) 0%, rgba(50, 30, 60, 0.95) 50%, rgba(30, 20, 40, 0.98) 100%) !important;
    border: 2px solid #ffed4a !important;
    color: #ffed4a !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, rgba(50, 30, 60, 0.95) 0%, rgba(70, 40, 80, 0.95) 50%, rgba(50, 30, 60, 0.95) 100%) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn {
    transition: all 0.3s ease;
}

footer {
    background: linear-gradient(to bottom, rgba(30, 20, 40, 0.9), rgba(40, 25, 50, 0.95)) !important;
    border-top: 3px solid #ffed4a;
    color: #fff !important;
}

footer a {
    color: #ffed4a;
}

footer a:hover {
    color: #ffd700;
}

.card-user-information .card-header,
.card-user-information ul.list-group li {
    padding: 1.5rem;
}

/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    nav.navbar a.nav-link {
        font-size: 11px;
    }

    .menu-li-bg {
        min-width: 60px;
        height: 30px;
        text-align: center;
        margin: 0 5px;
    }
}

form .has-error .help-block {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 4px;
}
form .control-label {
    margin-bottom: 5px;
}

.card .card-account-list {
    height: 200px;
    border: 2px solid rgba(255, 237, 74, 0.3) !important;
}
.card .card-account-list .icon i{
    font-size: 3rem;
    color: #ffed4a;
}
.card .add-card {
    height: 200px;
    border: 2px dashed #ffed4a !important;
}
.card-account-list,
.add-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

/* Normal account card hover */
.card-account-list:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(255, 237, 74, 0.3);
    border-color: #ffed4a !important;
}

/* Add new card hover */
.add-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(255, 237, 74, 0.4);
    border-color: #ffed4a !important;
}