*{ 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
}

/* ===== TOP BAR ===== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #161b22, #1f2937);
    border: 1px solid #30363d;
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 20px;
}

.topbar-left h1 {
    color: #58a6ff;
    font-size: 24px;
    margin-bottom: 5px;
}

.topbar-left p {
    color: #8b949e;
    font-size: 14px;
    
}

.clock {
    font-size: 42px;
    font-weight: 700;
    color: #3fb950;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
}

/* ==== CARDS ==== */
.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
    transform: translate(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.card-header {
    font-size: 14px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #30363d;
}

/* ===== PROFILE CARD ===== */
.profile-card {
    grid-column: span 1;
    border-top: 3px solid #58a6ff;
}

.profile-info {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #58a6ff, #3fb950);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.profile-details h2 {
    color: #c9d1d9;
    font-size: 16px;
    margin-bottom: 5px;
}

.profile-details p {
    color: #8b949e;
    font-size: 13px;
    margin-bottom: 3px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #30363d;
    padding-top: 15px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #58a6ff;
}

.stat-label {
    font-size: 12px;
    color: #8b949e;
}

/* ===== WEATHER CARD ===== */
.weather-card {
    border-top: 3px solid #f0a500;
}

.weather-main {
    text-align: center;
    padding: 10px 0;
}

.weather-temp {
    font-size: 52px;
    font-weight: 700;
    color: #f0a500;
}

.weather-desc {
    font-size: 16px;
    color: #8b949e;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.weather-details-item {
    background-color: #0d1117;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

.weather-detail-item span {
    display: block;
    color: #58a6ff;
    font-weight: 600;
    font-size: 16px;
}

/* ===== QUOTE CARD ===== */
.quote-card {
    border-top:3px solid #bc8cff;
}

.quote-text {
    font-size: 16px;
    color: #c9d1d9;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 13px;
    color: #bc8cff;
    font-weight: 600;
}

.refresh-btn:hover {
    background-color: #bc8cff;
    color: #0a0a0a;
}

/* ===== TODO CARD ===== */
.todo-card {
    border-bottom: 3px solid #3fb950;
    grid-column: span 1;
}

.todo-input-box {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.todo-input-box input {
    flex: 1;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 10px 12px;
    color: #c9d1d9;
    font-size: 14px;
}

.todo-input-box input:focus {
    outline: none;
    border-color: #3fb950;
}

.todo-input-box button {
    background-color: #238636;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.todo-input-box button:hover {
    background-color: #2ea043;
}

.todo-list {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #0d1117;
    border: 1px solid #30363d;
    transition: all 0.3s ease;
}

.todo-item.completed span {
    text-decoration: line-through;
    color: #484f58;
}

.todo-item span {
    flex: 1;
    font-size: 14px;
    color: #c9d1d9;
}

.todo-check {
    width:18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3fb950;
}

.todo-delete {
    background: none;
    border: none;
    color: #f85149;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.todo-delete:hover {
    background-color: #3a1a1a;
}

/* ===== NOTES CARD ===== */
.notes-card {
    border-top: 3px solid #f0a500;
    grid-column: span 1;
}

.notes-card textarea {
    width: 100%;
    height: 200px;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px;
    color: #c9d1d9;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    resize:none;
    line-height: 1.6;
}

.notes-card textarea:focus {
    outline:none;
    border-color: #f0a500;
}

.notes-saved {
    font-size: 12px;
    color: #3fb950;
    margin-top: 8px;
    min-height: 18px;
}

/* ===== SKILLS CARD ===== */
.skills-card {
    border-top: 3px solid #f85149;
    grid-column: span 1;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.skill-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.html { background-color: #3a1500; color: #f0a500; border: 1px solid #f0a500; }
.css { background-color: #001a3a; color: #58a6ff; border: 1px solid #58a6ff; }
.js { background-color: #3a3a00; color: #f0e040; border: 1px solid #f0e040; }
.python { background-color: #003a1a; color: #3fb950; border: 1px solid #3fb950; }
.flutter { background-color: #001a3a; color: #79c0ff; border: 1px solid #79c0ff; }
.sql { background-color: #3a001a; color: #ff7b72; border: 1px solid #ff7b72; }
.excel { background-color: #003a00; color: #56d364; border: 1px solid #56d364; }
.powerbi { background-color: #3a2a00; color: #e3b341; border: 1px solid #e3b341; }
.tableau { background-color: #1a003a; color: #bc8cff; border: 1px solid #bc8cff; }
.git { background-color: #3a0800; color: #ffa657; border: 1px solid #ffa657; }

/* ===== LOADING ===== */
.loading {
    color: #8b949e;
    font-style: italic;
    text-align: center;
    padding: 20px;
}
