:root {
    --primary-color: #00ff9d;
    --secondary-color: #00bcd4;
    --dark-color: #0a192f;
    --darker-color: #020c1b;
    --light-color: #ffffff;
    --text-color: #e6f1ff;
    --text-secondary: #ffffff;
    --danger-color: #ff2d75;
}
body {
    background-color: var(--darker-color);
    color: var(--text-color);
    font-family: 'Yekan', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
@font-face {
    font-family: 'Yekan';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Yekan/Yekan.eot');
    src: url('https://cdn.fontcdn.ir/Font/Persian/Yekan/Yekan.eot?#iefix') format('embedded-opentype'),
         url('https://cdn.fontcdn.ir/Font/Persian/Yekan/Yekan.woff') format('woff'),
         url('https://cdn.fontcdn.ir/Font/Persian/Yekan/Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.gps-encrypto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
#map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.2);
    height: 450px;
    margin: 2rem 0;
    border: 1px solid rgba(0, 255, 157, 0.1);
}
#map {
    height: 100%;
    background-color: var(--dark-color);
}
.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 25, 47, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    z-index: 500;
    border: 1px solid rgba(0, 255, 157, 0.2);
}
.map-overlay img {
    width: 20px;
    vertical-align: middle;
    margin-left: 5px;
}
.control-panel {
    background: rgba(10, 25, 47, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 157, 0.1);
    color: var(--text-color);
}
.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}
textarea, input, select {
    background-color: rgba(10, 25, 47, 0.9) !important;
    color: var(--text-color) !important;
    border: 1px solid rgba(0, 255, 157, 0.3) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease;
}
textarea:focus, input:focus, select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 157, 0.1) !important;
}
.btn-custom {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--darker-color);
}
.btn-encrypt {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00cc88 100%);
}
.btn-decrypt {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0088cc 100%);
    color: white;
}
.btn-secondary {
    background: rgba(0, 188, 212, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(0, 188, 212, 0.3);
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}
.radius-control {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 1.5rem 0;
}
.radius-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 8px;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 10px;
    outline: none;
}
.radius-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}
.radius-value {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}
.result-container {
    background: rgba(10, 25, 47, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
}
.result-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.result-content {
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text-color);
}
.file-extension {
    display: inline-block;
    background: rgba(0, 255, 157, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
}
.password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.password-box {
    background: var(--dark-color);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
    color: var(--text-color);
}
.password-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1.5rem;
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
}
.password-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
@media (max-width: 768px) {
    .radius-control {
        flex-direction: column;
        align-items: flex-start;
    }
}