/* General Styles */
body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    -webkit-text-size-adjust: 100%; /* Prevent iOS text size adjustment */
}

/* Container Styles */
.container {
    padding: 15px;
}

/* Mobile-First Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: 20px;
    }
}

/* Mobile Touch Optimization */
.btn {
    min-height: 44px; /* Minimum touch target size */
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 15px;
}

/* Mobile button adjustments */
@media (max-width: 767px) {
    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .jumbotron {
        padding: 1.5rem 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    /* Form improvements for mobile */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    /* Button group improvements */
    .d-flex.flex-wrap .btn {
        flex: 1 1 auto;
        margin: 5px;
        min-width: 120px;
    }
}

/* Login Page Specific Styles */
.login-container {
    margin-top: 50px;
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #333;
}

.btn {
    font-size: 1rem;
    font-weight: bold;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: white;
    background-image: none;
    border: 1px solid #747775;
    border-radius: 20px;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
  }
  
  .gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
  }
  
  .gsi-material-button .gsi-material-button-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }
  
  .gsi-material-button .gsi-material-button-contents {
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
  }
  
  .gsi-material-button .gsi-material-button-state {
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
  }
  
  .gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
  }
  
  .gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
  }
  
  .gsi-material-button:not(:disabled):active .gsi-material-button-state, 
  .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
  }
  
  .gsi-material-button:not(:disabled):hover {
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  }
  
  .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
  }