* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 20px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.date {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.feedback-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.time-warning {
    text-align: center;
    padding: 20px;
    background: #fff3cd;
    border-radius: 10px;
    border: 2px solid #ffc107;
    margin-bottom: 20px;
}

.time-warning p {
    font-size: 1.1em;
    margin: 10px 0;
    color: #856404;
}

.current-time {
    font-weight: bold;
    margin-top: 15px;
}

.current-time span {
    color: #d63031;
    font-size: 1.3em;
}

.rating-section {
    text-align: center;
    margin-bottom: 30px;
}

.rating-section h2 {
    margin-bottom: 20px;
    color: #333;
}

.stars {
    font-size: 3em;
    cursor: pointer;
    user-select: none;
}

.star {
    color: #ddd;
    transition: all 0.2s ease;
    margin: 0 5px;
}

.star:hover,
.star.active {
    color: #ffc107;
    transform: scale(1.1);
}

.rating-text {
    margin-top: 15px;
    font-size: 1.1em;
    color: #666;
    font-weight: bold;
}

.comment-section {
    margin-bottom: 30px;
}

.comment-section h2 {
    margin-bottom: 15px;
    color: #333;
}

#commentText {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

#commentText:focus {
    outline: none;
    border-color: #667eea;
}

.char-count {
    text-align: right;
    color: #999;
    font-size: 0.9em;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    color: white;
    font-size: 3em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-message h2 {
    color: #4caf50;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    font-size: 1.1em;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #f5c6cb;
    margin-top: 20px;
}

footer {
    text-align: center;
    margin-top: 30px;
    color: white;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9em;
    opacity: 0.9;
}

.admin-link {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: inline-block;
    transition: background 0.3s;
}

.admin-link:hover {
    background: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }
    
    .feedback-form {
        padding: 25px;
    }
    
    .stars {
        font-size: 2.5em;
    }
}

