#eks-app-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #333;
}

/* Main Steps (Visibility) */
.eks-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.eks-step.active {
    display: block;
}

/* Tabs Header */
.eks-tabs-header {
    display: flex;
    gap: 10px;
    /* Space between tabs */
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Prevent overlap on small screens */
}

.eks-tab-btn {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #444 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    outline: none;
    transition: all 0.3s;
    margin: 0 !important;
    border-radius: 0 !important;
}

.eks-tab-btn:hover {
    color: #0073aa;
    background: rgba(0, 115, 170, 0.05) !important;
}

.eks-tab-btn.active {
    color: #0073aa !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.eks-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0073aa;
}

.eks-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.eks-tab-content.active {
    display: block;
}

/* Training Grid & Cards (Converted to list view per request) */
.eks-training-grid {
    display: block;
}

.eks-training-card {
    background: transparent;
    border: none;
    border-bottom: 2px dotted #ccc;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
    /* Changed to row */
    align-items: center;
    /* Center vertically */
    justify-content: space-between;
    transition: none;
}

.eks-training-card:last-child {
    border-bottom: none;
}

.eks-training-card:hover {
    transform: none;
    box-shadow: none;
    background-color: transparent;
}

.eks-training-card.upcoming .eks-card-body {
    background-color: transparent;
}

.eks-card-body {
    padding: 0;
    flex: 1;
    /* Take available width */
    margin-right: 20px;
    /* Space between text and button */
}

.eks-card-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.eks-card-date {
    font-size: 14px;
    color: #555;
    margin-bottom: 0px;
    /* Remove excessive margin */
}

.eks-card-footer {
    padding: 0;
    border: none;
    background: transparent;
    flex: 0 0 auto;
    /* Do not grow */
}

.eks-training-card.upcoming .eks-card-footer button {
    background: #e0e0e0;
    color: #888;
    border-color: #ccc;
    cursor: default;
}

.eks-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 8px;
    color: #888;
}

/* Form Styles */
.eks-form-group {
    margin-bottom: 20px;
}

.eks-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

.eks-form-group input,
.eks-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.2s;
}

.eks-payment-options {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.eks-payment-options label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.eks-payment-options input[type="radio"] {
    width: auto;
    margin: 0;
}

.eks-form-group input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.eks-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.eks-submit-btn,
.eks-back-btn,
.eks-reset-btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

.eks-submit-btn {
    background-color: #0073aa;
    color: #fff;
    border: 1px solid #0073aa;
    flex-grow: 2;
}

.eks-back-btn {
    background-color: #fff;
    color: #555;
    border: 1px solid #ccc;
}

.eks-submit-btn:hover {
    background-color: #006799;
}

.eks-back-btn:hover {
    background-color: #f5f5f5;
}

/* Modal Styles */
.eks-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.eks-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.eks-close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.eks-close-modal:hover,
.eks-close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.eks-terms-group label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    justify-content: flex-start;
}

.eks-terms-group input[type="checkbox"] {
    width: auto !important;
    margin: 0;
}

.eks-terms-group a {
    color: #0073aa;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .eks-training-grid {
        grid-template-columns: 1fr;
    }
}