:root {
    --bg-primary: #ffffff;
    --primary: #022461;
    --bg-tertiary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-accent: #0059ff;
    --border-color: #E5E7EB;
    --active-color: #22C55E;
    --bg-card2: #f1f2f6;
    --university-color: #6B7280;
    --balance-negative: #EF4444;
}

html.dark {
    --primary: #262a33;
    --bg-primary: #201f27;
    --bg-tertiary: #3a3b3d;
    --bg-card: #3a3b3d;
    --bg-card2: #262628;
    --text-primary: #F9FAFB;
    --text-secondary: #9CA3AF;
    --text-accent: #0059ff;
    --university-color: #9CA3AF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

.app-container {
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
    background-color: var(--bg-card2);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 500;
}

.notification {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #EF4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

main {
    flex: 1;
    padding: 1.5rem;
}

/* Profile Page Specific Styles */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-right: 1rem;
    object-fit: cover;
}

.profile-info h2 {
    font-size: 1.125rem;
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.profile-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.profile-rank {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.profile-rank .material-icons {
    font-size: 1rem;
    margin-right: 0.25rem;
    color: var(--text-accent);
}

.university-section {
    background-color: var(--bg-card);
    /* border-radius: 0.75rem; */
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.blue {
background-color: #2c64c3;
    /* border-radius: 0.75rem; */
    color: white;
    padding: .2rem;
    margin-bottom: -1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* width: -webkit-fill-available; */
    position: absolute;
    margin: -16px;
    width: 85%;
}

.university-section h3 {
    color: var(--university-color);
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.program-info h4 {
    font-size: 1rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.program-info p {
    /* font-size: 0.875rem; */
    /* color: var(--text-secondary); */
    font-size: 1rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.semester-info {
    background-color: var(--bg-card);
    /* border-radius: 0.75rem; */
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.semester-info table {
    width: 100%;
    border-collapse: collapse;
}

.semester-info td {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.semester-info td:last-child {
    text-align: right;
    font-weight: 500;
}

.semester-info tr:last-child td {
    border-bottom: none;
    color: var(--balance-negative);
    font-weight: 600;
}

.contacts-section {
    background-color: var(--bg-card);
    /* border-radius: 0.75rem; */
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contacts-section h3 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.contacts-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts-section li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.contacts-section li:last-child {
    border-bottom: none;
}

/* Navigation styles */
.nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    background-color: var(--bg-primary);
    display: flex;
    overflow-x: auto;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    min-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 13px;
    color: var(--text-primary);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
}

.nav__link--active {
    color: var(--text-accent);
}

.nav__icon {
    font-size: 24px;
}
.nav__link i {
    font-size: x-large;
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    animation-name: fadeIn;
    animation-duration: 0.4s
}

.modal-content {
    position: fixed;
    bottom: 0;
    background-color: var(--bg-tertiary);
    width: 100%;
    color: var(--color);
    animation-name: slideIn;
    animation-duration: 0.4s
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-header {
    padding: 2px 16px;
    background-color: var(--primary);
    color: white;
}

.modal-body {
    padding: 2px 16px;
}

@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}

@keyframes fadeIn {
    from {opacity: 0}
    to {opacity: 1}
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .app-container {
        max-width: 100%;
    }
    
    .nav {
        left: 50%;
        transform: translateX(-50%);
        max-width: 24rem;
    }
}

.circular{
  height: 100px;
  width: 100px;
  position: relative;
}
.circular .inner, .circular .outer, .circular .circle{
  position: absolute;
  z-index: 6;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.2);
}
.circular .inner{
  top: 50%;
  left: 50%;
  height: 80px;
  width: 80px;
  margin: -40px 0 0 -40px;
  background-color: var(--bg-tertiary);
  border-radius: 100%;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.circular .circle{
  z-index: 1;
  box-shadow: none;
}
.circular .numb{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}
.circular .bar{
  position: absolute;
  height: 100%;
  width: 100%;
  background: #b6c9cd;
  -webkit-border-radius: 100%;
  clip: rect(0px, 100px, 100px, 50px);
}
.circle .bar .progress{
  position: absolute;
  height: 100%;
  width: 100%;
  -webkit-border-radius: 100%;
  clip: rect(0px, 50px, 100px, 0px);
}
.circle .bar .progress, .dot span{
  background: #4158d0;
}
.circle .left .progress{
  z-index: 1;
  /* animation: left 4s linear both; */
}
/* @keyframes left {
  100%{
    transform: rotate(180deg);
  }
} */
.circle .right{
  z-index: 3;
  transform: rotate(180deg);
}
.circle .right .progress{
  animation: right 4s linear both;
  animation-delay: 4s;
}
/* @keyframes right {
  100%{
    transform: rotate(180deg);
  }
} */
.circle .dot{
  z-index: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 10px;
  margin-top: -5px;
  /* animation: dot 8s linear both; */
  transform-origin: 0% 50%;
}
.circle .dot span {
  position: absolute;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 100%;
}
/* @keyframes dot{
  0% {
    transform: rotate(-90deg);
  }
  50% {
    transform: rotate(90deg);
    z-index: 4;
  }
  100% {
    transform: rotate(270deg);
    z-index: 4;
  }
} */

        .container {
            background-color: #b8c7cc;
            width: 100%;
            /* border-radius: 15px; */
        }

        .skill {
            background-color: #00a650;
            color: white;
            padding: 0;
            text-align: right;
            font-size: 18px;
            font-weight: 500;
            width: 60%;
            /* border-radius: 15px; */
        }