/* style.css - Dark theme styling */

body {

    background-image: url('tv-bg.png');
    background-repeat: repeat;  /* This will tile the image */
    background-size: auto;      /* You can adjust this to 'cover' or 'contain' if needed */
    background-color: #1c1c1c;
    color: #f0f0f0;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h2 {
    color: #00ffcc;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px; /* Space between heading and next element */
}

p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 20px; /* Space between paragraph and form */
}

form {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    width: 300px;
    text-align: center;
}

label {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

input[type="number"] {
    font-size: 20px;
    padding: 10px;
    width: 100%;  /* Full width of the form */
    max-width: 250px;  /* Set a maximum width for the input field */
    background-color: #1c1c1c;
    border: 2px solid #9147ff;
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    margin: 0 auto;  /* Center the input within its container */
    display: block;  /* Ensures the input behaves as a block element */
}

button {
    width: 100%;
    padding: 10px;
    background-color: #00ffcc;
    color: #1c1c1c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

button:hover {
    background-color: #00cca3;
}

/*Error*/
.streamer-not-found {
    background-color: #333;
    color: #f0f0f0;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.streamer-not-found h2 {
    color: #ff4d4d;
    margin-bottom: 10px;
}

.streamer-not-found p {
    font-size: 18px;
    color: #f0f0f0;
}

/*Badges*/
.profile-section {
    display: flex;
    align-items: center;
}
.profile-section img {
    border-radius: 50%;
    margin-right: 10px;
    width: 50px;  /* Adjust the size as needed */
    height: 50px;
}
.profile-badge {
    background-color: #9147ff;  /* Twitch purple */
    color: white;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 20px;
}
.profile-badge .badge-title {
    font-size: 14px;
    margin-bottom: 5px;
}
.badge-title {
	padding-bottom:10px;
}
.profile-badge .profile-info {
    display: flex;
    align-items: center;
}
.profile-badge img {
    border-radius: 50%;
    margin-right: 10px;
    width: 24px;  /* Circle size */
    height: 24px;
}
.profile-badge .username {
    font-size: 16px;
    font-weight: bold;
}
.streamer-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;  /* Makes it a circle */
    object-fit: cover;  /* Ensures the image fits within the circle without distortion */
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*Forms*/
form {
    background-color: #282828;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

label {
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

input[type="number"] {
    font-size: 20px;
    padding: 10px;
    width: 100%;
    background-color: #1c1c1c;
    border: 2px solid #9147ff;
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Currency display */
.currency-display {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: center;
}

/* PayPal button container styling */
#paypal-button-container {
    display: flex;
    justify-content: center;
}
