/* ========================================
   EasyEmploy HR - Clean Professional Theme
   White Header | Blue Text | White Modals
   ======================================== */

/* === LOGO === */
.swagger-ui .topbar-wrapper .link {
    content: url('/EasyEmployHR.png') !important;
    height: 55px !important;
    width: auto !important;
}

.swagger-ui .topbar-wrapper .link img {
    content: url('/EasyEmployHR.png') !important;
    height: 55px !important;
    width: auto !important;
    display: block !important;
}

.swagger-ui .topbar-wrapper img[alt="Swagger UI"] {
    content: url('/EasyEmployHR.png') !important;
    height: 55px !important;
}

/* === WHITE HEADER === */
.swagger-ui .topbar {
    background-color: #ffffff !important;
    padding: 15px 0 !important;
    border-bottom: 3px solid #2563eb !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* === BLUE TITLES === */
.swagger-ui .info .title {
    color: #2563eb !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
}

.swagger-ui .info .title small {
    background-color: #2563eb !important;
    color: white !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
}

/* === SECTION HEADERS (BLUE) === */
.swagger-ui .opblock-tag {
    color: #2563eb !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #2563eb !important;
    padding-bottom: 10px !important;
}

/* === WHITE MODALS === */
.swagger-ui .modal-ux {
    background-color: rgba(0, 0, 0, 0.4) !important;
}

.swagger-ui .modal-ux-content {
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.swagger-ui .modal-ux-header {
    background-color: #ffffff !important;
    color: #2563eb !important;
    border-bottom: 2px solid #2563eb !important;
    padding: 20px !important;
    font-weight: 700 !important;
}

.swagger-ui .modal-ux-header h3 {
    color: #2563eb !important;
}

/* === BLUE BUTTONS === */
.swagger-ui .btn.authorize {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

.swagger-ui .btn.authorize:hover {
    background-color: #1d4ed8 !important;
}

.swagger-ui .btn.execute {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: white !important;
}

.swagger-ui .btn.execute:hover {
    background-color: #1d4ed8 !important;
}

/* === INPUTS === */
.auth-container .wrapper input {
    width: 100% !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 10px !important;
}

.auth-container .wrapper input:focus {
    border-color: #2563eb !important;
    outline: none !important;
}

.swagger-ui .parameters-col_description input[type="text"],
.swagger-ui .parameters-col_description select,
.swagger-ui .parameters-col_description textarea {
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
}

.swagger-ui .parameters-col_description input[type="text"]:focus,
.swagger-ui .parameters-col_description select:focus,
.swagger-ui .parameters-col_description textarea:focus {
    border-color: #2563eb !important;
    outline: none !important;
}

/* === CLEAN OPERATIONS === */
.swagger-ui .opblock {
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    margin-bottom: 10px !important;
}

.swagger-ui .opblock.opblock-get {
    border-left: 4px solid #2563eb !important;
}

.swagger-ui .opblock.opblock-post {
    border-left: 4px solid #10b981 !important;
}

.swagger-ui .opblock.opblock-put {
    border-left: 4px solid #f59e0b !important;
}

.swagger-ui .opblock.opblock-delete {
    border-left: 4px solid #ef4444 !important;
}

/* === LINKS (BLUE) === */
.swagger-ui a {
    color: #2563eb !important;
}

.swagger-ui a:hover {
    color: #1d4ed8 !important;
}

/* === PARAMETER NAMES (BLUE) === */
.swagger-ui .parameter__name {
    color: #2563eb !important;
    font-weight: 600 !important;
}

/* === HIDE UNWANTED ELEMENTS === */
.download-url-wrapper {
    visibility: hidden !important;
}

small.version-stamp {
    display: none !important;
}

.swagger-ui .info .title small.version-stamp {
    display: inline-block !important;
}

/* === TRY IT OUT BUTTON === */
.swagger-ui .try-out__btn {
    background-color: white !important;
    border: 2px solid #2563eb !important;
    color: #2563eb !important;
    border-radius: 6px !important;
}

.swagger-ui .try-out__btn:hover {
    background-color: #2563eb !important;
    color: white !important;
}

/* === CANCEL BUTTON === */
.swagger-ui .btn.cancel {
    background-color: white !important;
    border: 2px solid #9ca3af !important;
    color: #4b5563 !important;
}

/* === SCHEME CONTAINER === */
.swagger-ui .scheme-container {
    background-color: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
}

/* === RESPONSES === */
.swagger-ui .responses-inner {
    border-radius: 6px !important;
}

/* === INFO SECTION === */
.swagger-ui .info {
    margin: 30px 0 !important;
}

.swagger-ui .info .base-url {
    color: #6b7280 !important;
}

/* === MODELS === */
.swagger-ui .model-container {
    background-color: #f9fafb !important;
    border-radius: 6px !important;
}

.swagger-ui .model-title {
    color: #2563eb !important;
    font-weight: 700 !important;
}

/* === CLEAN SCROLLBAR === */
.swagger-ui ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.swagger-ui ::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.swagger-ui ::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 5px;
}

.swagger-ui ::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}
