/* Info Page Specific Styles */

/* Copy of button styles from styles.css */
.info-page .corner-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-width: 300px;
}

.info-page .corner-btn {
    background: rgba(79, 195, 247, 0.2);
    border: 2px solid #4fc3f7;
    border-radius: 6px;
    padding: 12px 20px;
    color: #4fc3f7;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.info-page .corner-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.info-page .corner-btn:hover::before {
    width: 400px;
    height: 400px;
    max-width: 400px;
    max-height: 400px;
}

.info-page .corner-btn:hover {
    background: rgba(79, 195, 247, 0.3);
    box-shadow: 
        0 0 25px rgba(79, 195, 247, 0.7),
        0 0 50px rgba(79, 195, 247, 0.5),
        inset 0 0 25px rgba(79, 195, 247, 0.2);
    transform: translateY(-3px);
    border-color: #81c784;
    max-width: 400px;
    max-height: 400px;
}

.info-page .corner-btn:active {
    transform: scale(0.96) translateY(0);
}

.info-page .corner-btn > * {
    position: relative;
    z-index: 1;
}

/* Section box size - controls the size of ALL section containers */
/* NOTE: This is CSS height, NOT related to any input fields */
.info-page .section {
    background: rgba(26, 47, 74, 0.8);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 10px;
    padding: 15px; /* Space inside the section */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: all 0.3s ease;
    z-index: 1;
    width: 100%;
}

/* Buttons Section (left column) - Edit these to change the buttons section size */
.info-page .left-column .section {
    gap: 100px;  
    /* Edit these to change ONLY the buttons section size: */
    max-width: 350px; /* Maximum width of the buttons section */
    min-width: 200px;
    /* min-height: 200px; */ /* Uncomment to set minimum height */
    /* max-height: 500px; */ /* Uncomment to set maximum height */
}

/* Information Section (right column) - Edit these to change the information section size */
.info-page .right-column .section {
    /* Edit these to change ONLY the information section size: */
    max-width: 2000px; /* Maximum width of the information section */
    min-width: 1450px;
    /* min-height: 800px; */ /* Uncomment to set minimum height */
    /* max-height: 500px; */ /* Uncomment to set maximum height */
}

.info-content {
    padding: 20px;
    line-height: 1.6;
}

.info-content p {
    margin-bottom: 15px;
}

/* Responsive Design for Info Page */
@media (max-width: 768px) {
    .info-page .container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 10px;
    }
    
    .info-page .left-column .section,
    .info-page .right-column .section {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    
    .info-page .right-column .section {
        min-width: 0 !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .info-page .section {
        padding: 15px;
    }
    
    .info-page .corner-buttons {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 12px;
        margin-top: 12px;
    }
    
    .info-page .corner-btn {
        min-width: 0;
        width: 100%;
        padding: 14px 18px;
        font-size: 15px;
        min-height: 48px;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .info-content {
        padding: 15px;
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    .info-content p {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .info-page .section {
        padding: 12px;
    }
    
    .info-page .corner-btn {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .info-content {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .info-content p {
        margin-bottom: 10px;
    }
}

