.apmarker-main-portal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 700px;
    padding: 20px;
    margin: 0 auto;
    min-height: 100vh;
    flex-wrap: wrap;
    align-content: center;
}

.apmarker-main-portal-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.apmarker-main-portal-header .apmarker-logo img {
    max-height: 40px;
    width: auto;
}

.apmarker-card-container {
    width: 100%;
    flex: 1 0 280px;
    padding: 0;
    max-width: 320px;
}
.apmarker-card {
    background-color: white;
    border-radius: var(--apmarker-normal-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}
.clickable-card {
    cursor: pointer;
}
.clickable-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.card-header {
    padding: 25px;
    color: #fff;
    text-align: center;
}
.card-header h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}
.card-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}
.card-body {
    padding: 30px;
    text-align: center;
}
.card-content {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}
.card-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white !important;
    border: none;
}
.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .apmarker-card {
        width: 100% !important;
    }
}

.teacher-card-container .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.teacher-card-container .card-btn {
    background-color: #667eea !important;
}
.teacher-card-container .apmarker-card {
    width: auto;
}
.student-card-container .card-header {
    background: linear-gradient(135deg, #00c52e 0%, #c3df00 100%) !important;
}
.student-card-container .card-btn {
    background-color: #667eea !important;
}
.student-card-container .apmarker-card {
    width: auto;
}