.kkg-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kkg-main-button {
    text-align: center;
    margin: 30px 0;
}

.kkg-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 40px;
    font-size: 24px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s;
    font-weight: bold;
}

.kkg-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.kkg-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
}

.kkg-rules {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.kkg-rules h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.kkg-rules ul {
    list-style: none;
    padding: 0;
}

.kkg-rules li {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #eee;
}

.kkg-checkbox {
    display: block;
    margin-top: 20px;
    font-size: 18px;
    cursor: pointer;
}

.kkg-checkbox input {
    margin-right: 10px;
    transform: scale(1.5);
}

.kkg-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.kkg-field {
    margin-bottom: 25px;
}

.kkg-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.kkg-field input[type="text"],
.kkg-field input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

.kkg-field input:focus {
    border-color: #667eea;
    outline: none;
}

.kkg-code-inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.code-digit {
    width: 60px !important;
    height: 60px;
    text-align: center;
    font-size: 28px !important;
    font-weight: bold;
    border: 3px solid #667eea !important;
    border-radius: 10px !important;
}

.code-digit:focus {
    background: #f0f4ff;
}

.kkg-field input[type="file"] {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    width: 100%;
}

.kkg-preview {
    margin-top: 15px;
    max-width: 300px;
}

.kkg-preview img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.kkg-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.kkg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(17, 153, 142, 0.3);
}

.kkg-success {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 15px;
}

.kkg-success h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.kkg-success p {
    font-size: 18px;
    margin: 10px 0;
}

/* ანიმაციები */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.kkg-form-wrapper {
    animation: fadeIn 0.5s ease;
}
/* შეცდომის შეტყობინება */
.kkg-error {
    background: #ff6b6b;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* წარმატების შეტყობინება გაუმჯობესებული */
.kkg-success {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 15px;
    animation: fadeIn 0.5s ease;
}

/* არასწორი კოდის სტილი */
.code-digit.error {
    border-color: #ff6b6b !important;
    background: #ffe0e0;
    animation: shake 0.5s;
}