/* Styles for Fortuna's Purse Coin Melt Value Calculator */

:root {
    --primary-color: #4a6741;
    --secondary-color: #a89f68;
    --light-color: #f5f5f5;
    --dark-color: #333;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    margin-bottom: 0.5rem;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Metal Price Cards */
.metal-prices {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
  .app-feature {
            display: flex;
            margin-bottom: 30px;
            align-items: center;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            min-width: 80px;
            height: 80px;
            background-color: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: white;
            font-size: 2rem;
        }
        
        .feature-content {
            flex: 1;
        }
        
        .store-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        
        .store-button {
            display: inline-block;
            padding: 15px 30px;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 10px;
            font-weight: bold;
            transition: transform 0.3s, background-color 0.3s;
            text-align: center;
            min-width: 200px;
        }
        
        .store-button:hover {
            background-color: var(--secondary-color);
            transform: translateY(-5px);
        }
        
        .app-screenshot {
            max-width: 250px;
			height: 350px;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            margin: 30px 0;
        }
        
        .pricing-section {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            margin: 40px 0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .pricing-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        
        .pricing-table th, .pricing-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .pricing-table th {
            background-color: var(--secondary-color);
            color: white;
        }
        
        .pricing-table tr:nth-child(even) {
            background-color: #f5f5f5;
        }
        
        @media (max-width: 768px) {
            .app-feature {
                flex-direction: column;
                text-align: center;
            }
            
            .feature-icon {
                margin-right: 0;
                margin-bottom: 20px;
            }
        }

.price-card {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 200px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

/* Tab Navigation */
.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #ddd;
    border: none;
    flex: 1;
    text-align: center;
}

.tab.active {
    background-color: var(--secondary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Calculator Layout */
.calculator {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.calculator-panel {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

p.melt-disclaimer {
    margin-top: 20px;  /* Adds space above the paragraph */
    padding-top: 10px; /* Adds space inside the paragraph at the top */
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

select, input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: var(--primary-color);
}

/* Results Panel */
.results {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.result-group {
    margin-bottom: 15px;
}

.result-label {
    font-weight: bold;
}

.result-value {
    font-size: 1.2rem;
    color: var(--primary-color);
}

#result-melt-value {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Coin Image */
.coin-image {
    max-width: 200px;
    max-height: 200px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 5px;
}

/* Coin Facts Section */
.coin-facts {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .calculator {
        flex-direction: column;
    }
    
    .metal-prices {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .tabs .tab {
        font-size: 0.8rem;
        padding: 8px 5px;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 10px;
    }
}