/**
 * Chaturbate Token Calculator - CSS Styles
 * 
 * These styles are isolated to prevent conflicts with WordPress themes
 */

 .ctcalc-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ctcalc-header {
    text-align: center;
    margin-bottom: 20px;
}

.ctcalc-header h2 {
    margin: 0;
    padding: 0;
    color: #333;
}

.ctcalc-form {
    margin-bottom: 20px;
}

.ctcalc-input-group {
    margin-bottom: 15px;
}

.ctcalc-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.ctcalc-input-group input,
.ctcalc-input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.ctcalc-button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.ctcalc-button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    flex: 1;
    transition: background-color 0.3s ease;
}

.ctcalc-button:hover {
    background-color: #333333;
}

.ctcalc-secondary {
    background-color: #777;
}

.ctcalc-secondary:hover {
    background-color: #555;
}

.ctcalc-results {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.ctcalc-results h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 15px;
}

.ctcalc-result-container {
    margin-bottom: 20px;
}

.ctcalc-result-container p {
    margin: 10px 0;
    font-size: 16px;
}

.ctcalc-result-container p strong {
    display: inline-block;
    width: 150px;
}

.ctcalc-footer {
    text-align: center;
    color: #777;
    font-size: 12px;
    margin-top: 20px;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .ctcalc-container {
        padding: 15px;
    }
    
    .ctcalc-button-group {
        flex-direction: column;
    }
    
    .ctcalc-button {
        width: 100%;
    }
    
    .ctcalc-result-container p strong {
        width: auto;
        display: block;
        margin-bottom: 3px;
    }
}

/* Download button styling */
#ctcalc-download {
    display: block;
    width: 100%;
    margin-top: 15px;
}

/* Results container styling for download */
.ctcalc-download-container {
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    width: 500px;
    position: absolute;
    left: -9999px;
}

.ctcalc-download-container .logo {
    text-align: center;
    margin-bottom: 20px;
}

.ctcalc-download-container .title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.ctcalc-download-container .result-row {
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.ctcalc-download-container .result-label {
    font-weight: bold;
    display: inline-block;
    width: 150px;
}

.ctcalc-download-container .date {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #777;
}