body, html {
    background-color: white;
    height: 100%;
    overflow-x: hidden;
}
.cke_notification_message, .cke_notifications_area {
    display: none !important;
}
.modal {
    margin-top: 200px;
}
.main .btn-danger {
    background: #dc3545 !important;
    line-height: 25px;
}
* {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.row {
    --bs-gutter-x: 0 !important;
}
.left-bg {
    background: #130342;
}
.left-login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
img.logo {
    width: 250px;
}
.login {
    height: 100%;
}
.right-login {
    background-color: #FEFBF4;
    justify-content: center;
    align-items: center;
    display: flex;
}
form label, .form label, form legend {
    color: #130342 !important;
    font-weight: 550 !important;
    font-size: 14px !important;
    margin-bottom: 5px;
    margin-top: 20px;
}
.inline-check .form-check {
    display: inline-block !important;
}
.form-check {
    cursor: pointer;
}
.inline-check .form-check label {
    font-size: 13px !important;
    margin-right: 10px !important;
}
form legend {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
}
.form-check label {
    margin: 0 !important;
    color: #868AA5 !important;
    margin-bottom: 5px !important;
    font-weight: normal !important;
}
form button
{
    line-height: 45px;
    text-decoration: none;
    width: 100%;
    margin-top: 20px;
    height: 60px;
    background: #130342 !important;
    color: white !important;
    font-weight: 550 !important;
    font-size: 18px !important;
}
h1 {
    color: #130342 !important;
    font-weight: 700 !important;
    font-size: 20px !important;
}
#create_mobility_form_submit {
    padding-top: 10px !important;
    height: 40px;
    background-color: #0A2239 !important;
    color: white !important;
    font-weight: 550 !important;
    font-size: 14px !important;
}

.dashboard-box {
    position: relative;
    background: white;
    min-height: 200px;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.dashboard-box h3 {
    font-size: 14px;
    font-weight: 700;
    color: #606489;
}
.dashboard-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #130342 !important;
    margin-top: 20px;
}
.dashboard-box h4.small {
    font-size: 13px;
}

.edit-btn {
    height: 30px;
    background-color: #0A2239 !important;
    color: white !important;
    font-weight: 550 !important;
    font-size: 14px !important;
    cursor: pointer;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 5px;
}
form h3, .form h3 {
    font-size: 16px;
    font-weight: 700;
    color: #606489;
}
.hidden {
    display: none !important;
}
.input-small {
    border-radius: 3px !important;
    height: 36px !important;
    font-size: 13px;
}
.profile {
    background: white;
    border-radius: 15px;
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}
.row p {
    color: #868AA5 !important;
    font-weight: 550 !important;
    font-size: 15px !important;
    line-height: 25px;
}

form[name="exchange_form"] label, form[name="university_form"] label{
    font-size: 14px !important;
    margin-bottom: 2px !important;
}

 form[name="exchange_form"] textarea{
    min-height: 120px;
}
.document {
    position: relative;
    display: inline-block;
    width: 100px !important;
    height: 100px !important;
    border: 2px dashed dodgerblue;
    border-radius: 22px;
    margin-right: 10px !important;
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    padding-top: 25px;
    text-align: center;
    font-weight: 550;
    color: #130342;
    font-size: 10px;
    cursor: pointer;
    vertical-align: top;
}
.document.big {
    width: 120px !important;
    height:120px !important;

}
.document[data-status="Pending"] {
    border: 2px dashed orange;
}
.document[data-status="Validated"] {
    border: 2px dashed #ADEBB3;
}
.document[data-status="Refused"] {
    border: 2px dashed red;
}
.document:hover .upload {
    color: dodgerblue;
}
.document label {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    cursor: pointer;
}
.document a.show-file {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: black;
}
.document a.delete {
    font-size: 11px;
    color: #868AA5 !important;
}
a.accept-document, a.refuse-document {
    display: inline-block;
}
.document-action-container {
    line-height: 65px;
}
.ag-row {
    cursor: pointer;
}
.campaign-status {
    background: darkgrey;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    height: 20px;
    margin-left: 15px;
    text-transform: UPPERCASE;
    font-size: 11px;
    vertical-align: middle;
    letter-spacing: 1px;
}
.btn.blue {
    background: dodgerblue !important;
}
.campaign-status[data-status="Ready"], .campaign-status[data-status="Finished"] {
    background: #93E5AB !important;
}
.campaign-status[data-status="Opened"], .campaign-status[data-status="Validated"] {
    background: dodgerblue !important;
}
.campaign-status[data-status="Validated"], .campaign-status[data-status="Selected"] {
    background: #93E5AB !important;
}
.campaign-status[data-status="Refused"] {
    background: red !important;
}
.ag-row .campaign-status {
    font-size: 11px !important;
    margin-left: 0 !important;
}

.campaign-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-left: 6px solid #a78bfa;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.campaign-card .campaign-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.campaign-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.campaign-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f1f1f;
}

.status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background-color: #f3f3f3;
    color: #444;
}

.status[data-status="Opened"], .status[data-status="Ready"] {
    background-color: #ede9fe;
    color: #6d28d9;
}

.status[data-status="Finished"] {
    background-color: #fef2f2;
    color: #b91c1c;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
    background-color: #fafafa;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    gap: 1rem;
}

.stat strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 0.25rem;
}

.stat span {
    font-size: 0.85rem;
    color: #7c7c7c;
}

.campaign-dates {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.campaign-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.cta-button {
    align-self: flex-start;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.cta-button.primary,
.cta-button:not(.secondary) {
    background-color: #8b5cf6;
    color: white;
}

.cta-button.primary:hover,
.cta-button:not(.secondary):hover {
    background-color: #7c3aed;
}

.cta-button.secondary {
    background-color: #f3f4f6;
    color: #1f2937;
    border: 1px solid #d1d5db;
}

.cta-button.secondary:hover {
    background-color: #e5e7eb;
}

.campaign-card .status[data-status="Finished"] ~ * {
    border-left-color: #ef4444;
}
.wish-selected a{
    color: #93E5AB !important;
}
.alert {
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 5px 10px !important;
}

 ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #dddddd;
}
::-webkit-scrollbar {
    height: 100px !important;
    width: 6px !important;
    background-color: #dddddd !important;
}
::-webkit-scrollbar-thumb {
    background-color: dodgerblue;
    height: 10px !important;
}
[type="submit"], .btn-download-results, .btn-send-access, #previewCampaign, .btn  {
    background-color: #0A2239 !important;
    color: white !important;
    text-align: center;
    font-size: 11px !important;
    font-weight: 800 !important;
    width: auto;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 36px !important;
}
[type="submit"] {
    background: linear-gradient(135deg, #5b73e8 0%, #7c4dff 50%, #e91e63 100%) !important;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 14px;
    vertical-align: sub !important;
    padding-top: 5px;
}
.exchanges-results, .students-results {
    font-size: 13px;
}
.go-to {
    background-color: #0A2239 !important;
    color: white !important;
    text-align: center;
    font-size: 11px !important;
    font-weight: 800 !important;
    width: auto;
    padding: 5px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 36px !important;
    position: absolute;
    bottom: 20px;
    left: 20px;
}
.validate {
    background: #93E5AB !important;
}
.refuse {
    background: red !important;
}
.refuse svg {
    color: white;
}
button[disabled] {
    opacity: 0.3 !important;
}
.tab:hover span {
    background: -webkit-linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    transition: 0.2s;
}
.tab.active span {
    background: -webkit-linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.tab.active svg, .tab:hover svg {
    color:#667eea;
}
hr {
    border: 1px solid #eef5fc !important;
}
.tabs a svg {
    vertical-align: bottom !important;
}
body > .row {
    height: 100%;
}
.profile {
    min-height: calc(100% - 100px);
}
table a {
    color: #6440FA !important;
    text-decoration: none;
}
table a svg {
    vertical-align: sub;
}
table a.delete {
    color: red;
}
.swal2-popup {
    border-radius: 0;
}
.swal2-popup .swal2-icon {
    font-size: 5px;
}
.swal2-title {
    text-align: left;
    padding-left: 30px;
}
.swal-popup .table {
    margin-bottom: 0;
}
.swal2-actions {
    margin-top: 0 !important;
}
.swal2-popup table th {
    font-size: 14px !important;
}
.ag-cell-value a {
    text-decoration: none;
    color: dodgerblue;
    font-weight: 600;
}
.ag-cell-value:hover a {
    text-decoration: underline !important;
}
label[for="exchange_filter_form_academicLevels"], label[for="exchange_filter_form_campaigns"] {
    margin-top: 0 !important;
}
form[name="exchange_filter_form"] .mb-3 {
    margin-bottom: 0 !important;
}
form[name="exchange_filter_form"] label {
    margin-top: 5px !important;
}
.ag-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    text-transform: uppercase !important;
    font-size: 12px !important;
}
.ag-body .ag-cell-value {
    color: #4a5568 !important;
}