:root {
    --primary-blue: #4B8BF4;
    --primary-green: #42E2B8;
    --gradient-bg: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

body {
    background-color: #E6F3FF;
    font-family: 'Inter', sans-serif;
    padding-bottom: 80px; /* Space for bottom navigation */
}

.modern-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
    border: none;
    margin-bottom: 20px;
}

.btn-modern {
    border-radius: 25px;
    padding: 15px 30px;
    border: none;
    background: var(--gradient-bg);
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 10px 0;
    font-size: 18px;
}

.btn-modern.btn-out {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.form-control-modern {
    border-radius: 15px;
    border: 1px solid #E0E0E0;
    padding: 12px 20px;
    background: #F8FAFC;
    margin-bottom: 15px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.icon-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.modern-nav {
    background: var(--gradient-bg);
    border-radius: 0 0 20px 20px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.records-list {
    list-style: none;
    padding: 0;
}

.record-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.record-time {
    font-size: 14px;
    color: #666;
}

.record-type {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.record-type.in {
    background: #E7F5E8;
    color: #28A745;
}

.record-type.out {
    background: #FFE7E7;
    color: #DC3545;
}
.icon-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-item:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Modern Gradient Buttons */
.btn-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    margin: 10px 0;
    transition: all 0.3s ease;
    border: none;
    gap: 10px;
}

/* Blue-Green Gradient */
.btn-blue-green {
    background: linear-gradient(90deg, #4B8BF4 0%, #42E2B8 100%);
}

/* Red-Orange Gradient */
.btn-red-orange {
    background: linear-gradient(90deg, #FF6B6B 0%, #FF8E53 100%);
}

/* Green Gradient */
.btn-green {
    background: linear-gradient(90deg, #34D399 0%, #059669 100%);
}

/* Hover Effect */
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white; /* Keep text color white on hover */
}

/* Icon Style */
.btn-gradient i {
    font-size: 20px;
}

.dev-profile {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #4B8BF4, #42E2B8);
    border-radius: 20px;
    margin: 20px auto;
    max-width: 400px;  /* Added max-width for better centering */
}

.profile-container {
    width: 200px;       /* Increased size */
    height: 200px;      /* Increased size */
    margin: 0 auto 20px;
    position: relative;
    display: flex;      /* Added for better centering */
    justify-content: center;  /* Center horizontally */
    align-items: center;     /* Center vertically */
}

.profile-pic {
    width: 200px;       /* Match container size */
    height: 200px;      /* Match container size */
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.dev-profile .name {
    color: white;
    font-size: 24px;    /* Explicit font size */
    font-weight: 600;
    margin: 15px 0 5px;
    text-align: center;
}

.dev-profile .role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;    /* Explicit font size */
    margin-bottom: 10px;
    text-align: center;
}

/* Icon Grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.icon-item {
    background: white;
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.icon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Stats Cards */
.stats-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stats-icon {
    font-size: 24px;
    color: var(--primary-blue);
    background: rgba(75, 139, 244, 0.1);
    padding: 12px;
    border-radius: 12px;
    margin-right: 15px;
}

.stats-value {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.stats-label {
    font-size: 14px;
    color: #666;
}

/* Gradient Button */
.btn-gradient {
    background: var(--gradient-bg);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: white;
}