body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
    font-size: 16px;
	text-align: center;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.video-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.progress-container {
    display: none;
    margin-top: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.progress-bar {
    width: 100%;
	height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress {
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #1a73e8, #4285f4);
    transition: width 0.5s ease-in-out;
    border-radius: 10px;
    background-size: 30px 30px;
    background-image: linear-gradient(
                45deg,
                rgba(255, 255, 255, .15) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, .15) 50%,
                rgba(255, 255, 255, .15) 75%,
                transparent 75%,
                transparent
            );
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 30px 0; }
    to { background-position: 0 0; }
}

.status-text {
    font-size: 16px;
    font-weight: 500;
    color: #1a73e8;
    margin-bottom: 5px;
    text-align: center;
}

.details-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
}

.progress-text {
    text-align: center;
    color: #666;
}

.error-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #ffebee;
    color: #c62828;
    border-radius: 4px;
    text-align: center;
}

.logo {
    width: 200px;
    margin: 0 auto 20px;
    display: block;
}

.description {
    color: #666;
    line-height: 1.6;
    margin: 20px auto;
    text-align: center;
    font-size: 15px;
    padding: 0;
    border-top: 1px solid #eee;
    padding-top: 20px;
    max-width: 1100px;
}

.terms-text {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
	text-align: center;
}

.terms-link {
    color: #1a73e8;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    margin-top: 10px;
}

.terms-link:hover {
    text-decoration: underline;
}

.video-info {
    display: none;
    margin: 30px auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    max-width: 600px;
    text-align: left;
}

.video-info p {
    margin: 10px 0;
    color: #333;
    font-size: 15px;
}

.video-info strong {
    color: #1a73e8;
    margin-right: 10px;
}

.progress-container {
    display: none;
    margin-top: 20px;
}

.progress-bar {
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    width: 0;
    height: 100%;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    color: #666;
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
    display: none;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    position: relative;
    margin: 5% auto;
    padding: 10px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 1000;
}

.close:hover {
    color: #333;
}

.modal h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-right: 40px;
	text-align: center;
}

.modal h3 {
	text-align: center;
}

.privacy-content {
    text-align: center;
    line-height: 1.6;
    padding: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.privacy-content h4 {
    color: #1a73e8;
    margin: 25px 0 15px;
    font-size: 18px;
    text-align: center;
}

.privacy-content p {
    margin: 10px auto;
    font-size: 14px;
    color: #333;
    text-align: justify;
    max-width: 600px;
}

.privacy-content ul {
    margin: 10px auto;
    padding-left: 20px;
    max-width: 600px;
    text-align: left;
}

.privacy-content li {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
}

.privacy-link {
    color: #1a73e8;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.privacy-link:hover {
    text-decoration: underline;
}

.terms-content {
    text-align: center;
    line-height: 1.6;
    padding: 20px;
    margin: 0 auto;
}

.terms-content h4 {
    color: #1a73e8;
    margin: 25px 0 15px;
    font-size: 18px;
    text-align: center;
}

.terms-content p {
    margin: 10px auto;
    font-size: 14px;
    color: #333;
    text-align: justify;
}

.terms-content ul, .terms-content ol {
    margin: 10px auto;
    padding-left: 20px;
    max-width: 600px;
    text-align: left;
}

.terms-content li {
    margin: 5px 0;
    font-size: 14px;
    color: #333;
} 