:root {
    --bs-primary: #667eea;
    --bs-secondary: #718096;
    --bs-success: #48bb78;
    --bs-danger: #f56565;
    --bs-warning: #ed8936;
    --bs-info: #4299e1;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-dark: linear-gradient(90deg, #2d3748 0%, #1a202c 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    /* overflow: hidden; */
}

body {
    font-family: "Titillium Web", 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #2d3748;
}

.navbar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    border-bottom: 2px solid #e2e8f0;
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.navbar-brand i {
    margin-right: 0.3rem;
    color: #667eea;
}

.nav-link {
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #718096 !important;
    margin: 0 0.3rem;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem !important;
}

.nav-link:hover {
    color: #667eea !important;
    border-bottom-color: #667eea;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #667eea !important;
    border-bottom-color: #667eea;
}

.navbar-toggler {
    border: 2px solid #e2e8f0;
    padding: 0.4rem 0.75rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.3rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.alert {
    border-radius: 10px;
    border: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 9999;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.1) 100%);
    color: #22543d;
    border-left-color: #48bb78;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
    color: #742a2a;
    border-left-color: #f56565;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(221, 107, 32, 0.1) 100%);
    color: #7c2d12;
    border-left-color: #ed8936;
}

.alert-info {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(49, 130, 206, 0.1) 100%);
    color: #1e3a8a;
    border-left-color: #4299e1;
}

.alert-dismissible .btn-close {
    padding: 0.5rem;
}

.container-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: white;
}

.badge-success {
    background: #48bb78;
    color: white;
}

.badge-danger {
    background: #f56565;
    color: white;
}

.badge-warning {
    background: #ed8936;
    color: white;
}

.badge-info {
    background: #4299e1;
    color: white;
}

.badge-secondary {
    background: #718096;
    color: white;
}

.text-muted {
    color: #718096 !important;
}

.lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3748;
}

.display-4, .display-5, .display-6 {
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container-auth {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    width: 100%;
    max-width: 450px;
}

.text-decoration-none {
    transition: all 0.3s ease;
}

.text-decoration-none:hover {
    color: #667eea !important;
}

.row > div {
    margin-bottom: 1.5rem;
}

.feature-box {
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.feature-box i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e2e8f0;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.4rem;
    }

    .container-main {
        padding: 1rem 0;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    .display-4, .display-5, .display-6 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    footer {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .alert {
        font-size: 0.9rem;
    }
}



#recipient-search {
    box-shadow: none;
}

/* Titillium Web Typography Classes */
.titillium-web-extralight {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.titillium-web-light {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.titillium-web-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.titillium-web-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.titillium-web-black {
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.titillium-web-extralight-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.titillium-web-light-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.titillium-web-regular-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.titillium-web-semibold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.titillium-web-bold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: italic;
}