/* Import the Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Root variables for consistent styling */
:root {
    --main-header-height: 50px;
    --expanded-header-height: 50px;
    --input-output-font-size: 1rem;
    --input-output-width: 80%;
    --input-output-height: 1.0rem;
    --input-output-padding: 0.2rem;
    --input-output-border-radius: 0.25rem;
    --input-output-line-height: 1.5rem;
    --main-margins: 0.5rem;
    --sidebar-width-original: 10.125rem;
    --sidebar-width: calc(var(--sidebar-width-original));
    --sidebar-collapsed-width: 0rem;
    --sidebar-up-down-padding: 0.5rem;
    --calc-width: 17.5rem;
    --calc-padding: 1.25rem;
    --offset-distance: 1.3rem;
    --button-height: 12px; /*hamburger*/
    --button-width: 20px;
    --popup-button-height: 20px;
  
    --thermist-blue: #0a87ed;
    --thermist-blue-dark: #0969bc;
    --thermist-blue-transparent: rgba(10, 135, 237, 0.1);
    --select-color: #808080;
    --primary-color: #2a3d51;
    --neutral-color: #f7f7f7;
    --shadow-color: #798180;
    --background-color:  #eeeeee;
    --header-background-color: #ffffff;
    --sidebar-background-color: #d5dcdb;
  
    --input-output-bg-color: #ffffff;
    --modified-input-color: #eed0c4;
    --select-background-color: #ede9e9;
    --output-background-color: #ede9e9;
    --select-and-input-border-color: #cccccc;
    --select-and-input-color: #020905;
    --output-color:  #020905;
    --advanced-text-color:  #969696;
    --advanced-text-background-hover-color: #f2f2f2;
    --restore-defaults-hover-background-color: #888;
    --restore-defaults-text-hover-color: #ffffff;
    --share-background-color: #555;
    --share-text-color: #fff;
    --help-modal-background-color: rgba(0,0,0,0.4);
    --help-background-color: #fefefe;
    --help-border-color: #6e6e6e;
  
    --hamburger-hover-color: #d5dcdb; 
    --popout-button-hover-color: #ede9e9;
    --table-inner-border-color:  #eeeeee;
    --hero-subtitle-color: #555555;  
}

/* General styles for layout */
body {
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: -0.01em;
    margin: 0;
    background-color: var(--background-color);
    padding-bottom: 60px; /* Add padding for footer height */
    position: relative;
}

h1 {
    font-weight: 500;
    text-align: center;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}


/* Calculation container - used on about and contact page too */
.calculation-container {
    max-width: var(--calc-width);
    min-width: var(--calc-width);
    position: relative;
    padding: var(--calc-padding);
    padding-bottom: calc(var(--calc-padding) + 0.3rem);
    border-radius: 0.625em;
    background-color: var(--neutral-color);
    margin-left: var(--offset-distance);
    margin-top: calc(var(--offset-distance) + var(--expanded-header-height));
    margin-right: var(--offset-distance);
    margin-bottom: 0; 
    box-shadow: 2px 3px 8px var(--shadow-color);
    z-index: 2;
}

.calculation-container.sidebar-collapsed {
    margin-left: calc(var(--sidebar-collapsed-width) + var(--offset-distance));
}

/* Button styles for download buttons */
.beta-download-button {
    display: inline-block;
    padding: 10px 30px;
    margin: 10px 20px;  /* Added margin */
    background-color: var(--thermist-blue);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.beta-download-button:hover {
    background-color: var(--thermist-blue-dark);
}

/* Professional Beta Download Page Styles */
.beta-download-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    margin-top: calc(var(--expanded-header-height) + 20px);
    margin-bottom: 40px;
}

.beta-header {
    text-align: center;
    margin-bottom: 40px;
}

.beta-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.beta-subtitle {
    font-size: 1.2rem;
    color: var(--hero-subtitle-color);
    margin: 0;
}

.beta-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.beta-info-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    position: relative;
}

.beta-badge {
    position: absolute;
    top: -12px;
    left: 40px;
    background: linear-gradient(135deg, var(--thermist-blue), var(--thermist-blue-dark));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.beta-info-card h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    font-weight: 500;
}

.version-info {
    color: var(--hero-subtitle-color);
    font-size: 1rem;
    margin: 0 0 30px 0;
}

.beta-features h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.feature-list li {
    padding: 8px 0;
    color: var(--hero-subtitle-color);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--thermist-blue);
    font-weight: bold;
}

.download-section {
    text-align: center;
    margin-top: 30px;
}

.beta-download-button-new {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--thermist-blue), var(--thermist-blue-dark));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(10, 135, 237, 0.3);
}

.beta-download-button-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 135, 237, 0.4);
}

.download-icon {
    flex-shrink: 0;
}

.download-info {
    margin-top: 12px;
    color: var(--hero-subtitle-color);
    font-size: 0.9rem;
}

.beta-notice {
    background: linear-gradient(135deg, #fff3cd, #fef5e7);
    border: 1px solid #f6d55c;
    border-radius: 8px;
    padding: 20px;
}

.notice-content h3 {
    color: #8b6914;
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.notice-content p {
    color: #8b6914;
    margin: 0;
    line-height: 1.5;
}

.system-requirements {
    background-color: var(--neutral-color);
    border-radius: 8px;
    padding: 25px;
}

.system-requirements h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.requirements-grid {
    display: grid;
    gap: 15px;
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.requirement-item:last-child {
    border-bottom: none;
}

.requirement-item strong {
    color: var(--primary-color);
    font-weight: 500;
}

.requirement-item span {
    color: var(--hero-subtitle-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .beta-download-container {
        padding: 20px;
        margin-top: calc(var(--expanded-header-height) + 10px);
    }
    
    .beta-header h1 {
        font-size: 2rem;
    }
    
    .beta-info-card {
        padding: 25px;
    }
    
    .beta-download-button-new {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .requirement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}




