/**
 * Rastgele Sayı Üreteci CSS
 */

.random-number-generator-container {
    max-width: 850px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

.calculator-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
}

.random-number-generator {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 1.5rem;
}

.calculator-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.calculator-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calculator-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.calculator-section > p {
    margin-bottom: 1.5rem;
    color: #555;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-label {
    flex: 1;
    min-width: 200px;
}

.input-label .label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="number"]:focus {
    outline: none;
    border-color: #4a9cf8;
    box-shadow: 0 0 0 2px rgba(74, 156, 248, 0.2);
}

.simple-result-container {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.result-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #555;
}

.simple-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    min-height: 3rem;
}

.calculator-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calc-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.calc-btn:first-child {
    background-color: #4a9cf8;
    color: white;
}

.calc-btn:first-child:hover {
    background-color: #3d8be0;
}

.calc-btn:last-child {
    background-color: #e9ecef;
    color: #495057;
}

.calc-btn:last-child:hover {
    background-color: #dee2e6;
}

/* Kapsamlı versiyon için stiller */
.options-group {
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 4px;
}

.option {
    margin-bottom: 1.25rem;
}

.option:last-child {
    margin-bottom: 0;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.radio-group-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #444;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.decimal-precision {
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.decimal-precision .input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.decimal-precision input {
    width: 80px;
    text-align: center;
}

.advanced-result-container {
    margin-top: 1.5rem;
}

.advanced-result {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1rem;
    resize: vertical;
    background-color: #f8f9fa;
}

/* Bilgilendirme bölümü stilleri */
.random-number-info {
    margin-top: 3rem;
}

.random-number-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: #2c3e50;
}

.random-number-info h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: #3a4a5a;
}

.random-number-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Mobil için duyarlı tasarım */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-label {
        width: 100%;
    }
    
    .radio-options {
        flex-direction: column;
    }
    
    .simple-result {
        font-size: 2rem;
    }
    
    .calculator-buttons {
        flex-direction: column;
    }
} 