/* E-Ticket System - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Kanit', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Styles */
.register-form-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.register-form-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.register-form-container .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert .icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-logout {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    font-size: 12px;
    text-decoration: none;
}

.btn-logout:hover {
    background-color: #c82333;
}

/* Map Page Styles */
.map-page {
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 20px 0;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

.user-info {
    display: block;
    text-align: center;
}

.user-name {
    font-size: 14px;
}

/* Progress Section */
.progress-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.progress-container {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Bases List Text Section */
.bases-list-text {
    max-width: 1200px;
    margin: 5px auto 15px auto;
    padding: 0 20px;
}

.bases-list-text-container {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bases-list-text-container h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.progress-container h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.progress-text {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.5s ease;
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.completion-message {
    margin-top: 15px;
    padding: 12px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

/* Map Container */
.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    touch-action: pan-x pan-y;
}

.map-background {
    position: relative;
    width: 800px;
    height: 600px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 2px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    font-size: 18px;
    color: #999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
    transform-origin: top left;
    touch-action: none;
}

.map-placeholder {
    text-align: center;
    color: #aaa;
}

.map-placeholder-text {
    font-size: 24px;
    margin-bottom: 10px;
}

.bases-container {
    position: relative;
    width: 800px;
    height: 600px;
    display: block;
}

#mapDrawingCanvas {
    width: 800px;
    height: 600px;
    transform-origin: top left;
}

/* Base Item on Map */
.base-item {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    text-align: center;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 3px solid #ff5252;
}

.base-item.scanned {
    background-color: #51cf66;
    border-color: #37b24d;
}

.base-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}




.base-icon {
    font-size: 24px;
    margin-bottom: 3px;
}

.base-label {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.2;
}

/* Bases List */
.bases-list-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.bases-list-section h2 {
    margin-bottom: 15px;
    color: #333;
}

.bases-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.base-list-item {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b6b;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.base-list-item.scanned {
    border-left-color: #51cf66;
    background-color: #f8fff9;
}

.base-list-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-icon {
    font-size: 18px;
    font-weight: bold;
}

.status-text {
    font-size: 12px;
    color: #666;
}

.base-list-item.scanned .status-text {
    color: #37b24d;
}

.base-list-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.base-list-detail {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    padding-top: 8px;
    border-top: 1px solid #eee;
    margin-top: 8px;
}

/* User Info Card */
.user-info-card {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-info-card h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: #666;
    flex: 0 0 150px;
}

.info-row .value {
    color: #333;
    flex: 1;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .register-form-container {
        margin-top: 30px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-info {
        text-align: center;
    }
    
    .bases-list {
        grid-template-columns: 1fr;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .info-row .label,
    .info-row .value {
        flex: 1;
        text-align: left;
    }
}

/* SweetAlert Logo Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(33, 150, 243, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.8));
    }
}

.swal2-popup .swal2-image {
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), float 3s ease-in-out infinite 0.6s;
    margin-bottom: -10px !important;
}

.swal2-popup .swal2-image:hover {
    animation: bounceIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), pulse 1.5s ease-in-out infinite 0.6s;
}

.swal2-popup .swal2-title {
    margin-top: 0px !important;
    margin-bottom: -10px !important;
}

.swal2-popup .swal2-html-container {
    margin-top: -5px !important;
}

/* Canvas Drawing Styles */
#drawingCanvas {
    border: 1px solid transparent;
}

#drawingCanvas:hover {
    border: 1px solid #FF6B6B;
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Small Screens (768px - 1024px) */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .user-info {
        width: 100%;
        text-align: center;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .map-container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    .base-item,
    .draggable-base {
        width: 70px;
        height: 70px;
        font-size: 10px;
    }
    
    .progress-container h2,
    .bases-list-text-container h2 {
        font-size: 18px;
    }
    
    .progress-text {
        font-size: 13px;
    }
}

/* Mobile Screens (480px - 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 15px;
    }
    
    .register-form-container {
        padding: 20px;
        margin-top: 30px;
    }
    
    .register-form-container h1 {
        font-size: 24px;
    }
    
    .header {
        padding: 15px;
    }
    
    .header-content {
        max-width: 100%;
    }
    
    .header h1 {
        font-size: 18px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .btn-logout {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .map-page {
        padding: 15px 0;
    }
    
    .progress-section {
        margin: 15px auto;
        padding: 0 15px;
    }
    
    .bases-list-text {
        margin: 10px auto;
        padding: 0 15px;
    }
    
    .progress-container,
    .bases-list-text-container {
        padding: 8px;
    }
    
    .progress-container h2,
    .bases-list-text-container h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .progress-text {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .progress-bar {
        height: 25px;
    }
    
    .progress-fill {
        font-size: 12px;
    }
    
    .completion-message {
        margin-top: 12px;
        padding: 10px;
        font-size: 13px;
    }
    
    .map-container {
        max-width: 100%;
        margin: 12px auto;
        padding: 0 15px;
        overflow: hidden;
    }
    
    .base-item,
    .draggable-base {
        width: 60px;
        height: 60px;
        font-size: 10px;
        padding: 4px;
        border: 2px solid #ff5252;
    }
    
    .base-item:hover,
    .draggable-base:hover {
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
    
    .bases-list-section {
        max-width: 100%;
        margin: 15px auto;
        padding: 0 15px;
    }
    
    .bases-list-section h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .bases-list {
        grid-template-columns: 1fr;
    }
    
    .base-list-item {
        padding: 12px;
    }
    
    .base-list-name {
        font-size: 14px;
    }
    
    .base-list-detail {
        font-size: 12px;
    }
    
    .user-info-card {
        max-width: 100%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .user-info-card h3 {
        font-size: 16px;
    }
    
    .info-row {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .info-row .label {
        font-size: 13px;
    }
    
    .bases-table,
    .users-table {
        font-size: 12px;
    }
    
    .bases-table th,
    .bases-table td,
    .users-table th,
    .users-table td {
        padding: 8px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }
    
    .btn-small {
        padding: 4px 8px;
        font-size: 10px;
        width: 100%;
    }
}

/* Small Mobile Screens (< 480px) */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
    
    .register-form-container {
        padding: 15px;
        margin-top: 20px;
        border-radius: 8px;
    }
    
    .register-form-container h1 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .register-form-container .subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 13px;
    }
    
    .header {
        padding: 12px;
    }
    
    .header-content {
        max-width: 100%;
        flex-direction: row;
        gap: 0px;
        justify-content: flex-start;
        align-items: center;
    }
    
    .header-content img {
        margin-right: 0px !important;
    }
    
    .header h1 {
        font-size: 20px;
        font-weight: 600;
    }
    
    .user-info {
        width: 100%;
        text-align: center;
    }
    
    .user-name {
        font-size: 12px;
    }
    
    .btn-logout {
        width: 100%;
        padding: 8px 10px;
        font-size: 10px;
        text-align: center;
        display: block;
    }
    
    .map-page {
        padding: 10px 0;
    }
    
    .progress-section {
        margin: 10px auto;
        padding: 0 10px;
    }
    
    .bases-list-text {
        margin: 5px auto;
        padding: 0 10px;
    }
    
    .progress-container,
    .bases-list-text-container {
        padding: 6px;
        border-radius: 3px;
    }
    
    .progress-container h2,
    .bases-list-text-container h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .progress-text {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .progress-bar {
        height: 22px;
        border-radius: 11px;
    }
    
    .progress-fill {
        font-size: 11px;
    }
    
    .completion-message {
        margin-top: 10px;
        padding: 8px;
        font-size: 12px;
        border-radius: 3px;
    }
    
    .map-container {
        max-width: 100%;
        margin: 10px auto;
        padding: 0 10px;
        overflow: hidden;
    }
    
    .base-item,
    .draggable-base {
        width: 50px;
        height: 50px;
        font-size: 9px;
        padding: 3px;
        border: 2px solid #ff5252;
        border-radius: 4px;
    }
    
    .base-item:hover,
    .draggable-base:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    
    .bases-list-section {
        max-width: 100%;
        margin: 12px auto;
        padding: 0 10px;
    }
    
    .bases-list-section h2 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .bases-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .base-list-item {
        padding: 10px;
        border-radius: 4px;
    }
    
    .base-list-status {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .base-list-name {
        font-size: 13px;
        font-weight: 600;
    }
    
    .base-list-detail {
        font-size: 11px;
        margin-top: 4px;
    }
    
    .user-info-card {
        max-width: 100%;
        margin: 15px auto;
        padding: 12px;
    }
    
    .user-info-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .info-row {
        font-size: 12px;
        padding: 6px 0;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    .info-row .label {
        font-size: 12px;
        font-weight: 600;
        flex: 0 0 120px;
        text-align: left;
        margin-bottom: 0;
    }
    
    .info-row .value {
        flex: 1;
        text-align: right;
        font-size: 12px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-header h1,
    .admin-header h2 {
        width: 100%;
        text-align: center;
    }
    
    .admin-header-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .admin-header-logout {
        width: 100%;
        justify-content: center;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
        flex: 1;
        min-width: 100px;
    }
    
    .bases-table,
    .users-table {
        font-size: 11px;
        display: block;
        overflow-x: auto;
        width: 100%;
    }
    
    .bases-table th,
    .bases-table td,
    .users-table th,
    .users-table td {
        padding: 6px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 2px;
    }
    
    .btn-small {
        padding: 3px 6px;
        font-size: 9px;
        width: 100%;
    }
    
    .add-base-form {
        flex-direction: column;
        gap: 8px;
    }
    
    .add-base-form input {
        padding: 8px;
        font-size: 12px;
    }
    
    .add-base-form button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .qr-code-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .qr-code-item {
        padding: 12px;
    }
    
    .qr-code-item h4 {
        font-size: 12px;
    }
    
    .qr-code-url {
        font-size: 10px;
        padding: 8px;
    }
    
    .copy-btn {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 12px;
    }
    
    .stat-card .number {
        font-size: 24px;
    }
}

/* Desktop heading consistency */
.progress-container h2, .bases-list-section h2 {
    font-size: 18px;
    font-weight: 500;
}

/* ===== INDEX PAGE SPECIFIC STYLES ===== */

/* Body and HTML overrides for index page */
body.index-page, html.index-page {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Prompt', sans-serif;
    /* iOS fixes */
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

body.index-page *, html.index-page * {
    font-family: 'Prompt', sans-serif;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0;
        z-index: 1050;
        width: 100%;
        transform: translate3d(0, 0, 0); /* Hardware acceleration */
    }
    
    .page-footer {
        position: -webkit-sticky !important;
        position: sticky !important;
        bottom: 0;
        z-index: 1050;
        width: 100%;
        transform: translate3d(0, 0, 0); /* Hardware acceleration */
        margin-top: auto;
    }
    
    .map-page {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }
    
    .content-wrapper {
        flex: 1;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Standard browsers - Fixed positioning */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    transform: translate3d(0, 0, 0); /* Hardware acceleration */
}

.page-footer {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    width: 100%;
    transform: translate3d(0, 0, 0); /* Hardware acceleration */
}

/* Content wrapper to prevent overlap with fixed header/footer */
.content-wrapper {
    padding-top: 84px; /* Header height + margin */
    padding-bottom: 70px; /* Footer height + margin */
    min-height: calc(100vh - 154px);
    min-height: calc(-webkit-fill-available - 154px);
}

.content-wrapper.with-preview {
    padding-top: 134px; /* Additional space for preview banner */
}

/* Preview banner for iOS */
.preview-banner {
    background-color: #fff3cd;
    border-bottom: 2px solid #ffc107;
    padding: 15px;
    text-align: center;
    color: #856404;
    font-weight: bold;
    position: relative;
    z-index: 1051;
}

/* Modal backdrop blur effect */
.modal-backdrop {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* Ensure header and footer are not blurred */
.header, .page-footer {
    z-index: 1051; /* Higher than modal z-index */
}

/* Blur main content when modal is open */
.modal-open .progress-section,
.modal-open .map-container,
.modal-open .bases-list-section {
    filter: blur(3px);
    pointer-events: none;
    transition: filter 0.3s ease;
}

/* Floating QR Scan Button */
.qr-scan-btn {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
    color: white;
    font-size: 28px;
}

.qr-scan-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.qr-scan-btn:active {
    transform: scale(0.95);
}

/* QR Scanner Modal Styles */
#qrScannerModal .modal-dialog {
    max-width: 500px;
}

#qr-reader {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

#qr-reader__dashboard_section_csr {
    display: none !important;
}

/* Index Page Mobile Responsive Overrides */
@media (max-width: 768px) {
    .content-wrapper {
        padding-top: 72px;
        padding-bottom: 60px;
    }
    
    .content-wrapper.with-preview {
        padding-top: 122px;
    }
    
    .progress-section {
        margin-top: 25px;
    }
    
    .bases-list-text {
        margin-top: 10px;
    }
    
    .qr-scan-btn {
        width: 60px;
        height: 60px;
        bottom: 70px;
        right: 20px;
        font-size: 26px;
    }
    
    /* User info tablet styles */
    .user-info {
        padding: 6px !important;
        margin-bottom: 12px !important;
    }
    
    .user-info .user-name {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding-top: 65px;
        padding-bottom: 55px;
    }
    
    .content-wrapper.with-preview {
        padding-top: 115px;
    }
    
    .progress-section {
        margin-top: 30px;
    }
    
    .bases-list-text {
        margin-top: 15px;
    }
    
    /* User info mobile styles */
    .user-info {
        padding: 5px !important;
        margin-bottom: 10px !important;
    }
    
    .user-info .user-name {
        font-size: 11px !important;
    }
}
