/* --- VARIABLES --- */
:root {
    --primary: #0056b3;
    --secondary: #00a8ff;
    --bg-gradient: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(0, 168, 255, 0.8));
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-main: #2c3e50;
    --text-muted: #666;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient), url('https://source.unsplash.com/1600x900/?university') center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar Back Button */
.btn-back {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-back:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* --- MAIN WRAPPER --- */
.result-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
}

.glass-container {
    background: var(--card-bg);
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header Section */
.header-section {
    margin-bottom: 30px;
}

.trophy-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
    border: 2px solid #ffecb3;
}

.header-section h1 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.header-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- ACTION GRID --- */
.action-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.result-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.result-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Card Icons */
.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Card Specific Styles */
.main-card .card-icon {
    background: #e3f2fd;
    color: #2196f3;
}

.main-card:hover {
    border-left: 5px solid #2196f3;
}

.back-card .card-icon {
    background: #fbe9e7;
    color: #ff5722;
}

.back-card:hover {
    border-left: 5px solid #ff5722;
}

.pharmacy-card .card-icon {
    background: #e8f5e9;
    color: #4caf50;
}

.pharmacy-card:hover {
    border-left: 5px solid #4caf50;
}

.card-info {
    flex: 1;
    text-align: left;
}

.card-info h3 {
    margin: 0 0 2px;
    font-size: 1.1rem;
    color: #333;
}

.card-info span {
    font-size: 0.85rem;
    color: #777;
}

.card-arrow {
    color: #ccc;
    font-size: 1.2rem;
    transition: 0.3s;
}

.result-card:hover .card-arrow {
    color: #333;
    transform: translateX(5px);
}

/* Note Box */
.info-note {
    background: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid #ffeeba;
}

.info-note i {
    margin-top: 3px;
}

/* Mini Footer */
.mini-footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
}

.mini-footer a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
}