/* Google-style design with modern UI */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* --- Stylish Header (Google Drive Style) --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: #4285F4;
    color: white;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header img {
    height: 40px;
}

.container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #333;
}

p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* --- Google-style Sign-in Button (Blue) --- */
.signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 18px;
    color: white;
    background-color: #4285F4;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
    width: 260px;
    margin: 20px auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.signin-btn:hover {
    background-color: #357ae8;
}

.signin-btn img {
    height: 20px;
}

/* --- Google-style View File Button (Yellow Glass) --- */
.view-file-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: black;
    background: rgba(255, 193, 7, 0.85);
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    border: 1px solid rgba(255, 193, 7, 0.9);
    backdrop-filter: blur(10px);
}

.view-file-btn:hover {
    background: rgba(255, 193, 7, 1);
}

/* --- Google-style Choose File Button (Wide & Stylish) --- */
input[type="file"] {
    display: none;
}

.file-upload-label {
   display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #4285F4; /* Updated to Google's blue */
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.file-upload-label:hover {
    background-color: #357ae8; /* Lighter blue on hover */
}

/* --- Left-aligned Security Information --- */
.security-info {
    margin-top: 30px;
    font-size: 14px;
    color: #333;
    background: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    text-align: left; /* حفظ چپ‌چین بودن متن */
}

/* --- Upload Button --- */
.upload-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #34A853; /* Google's green for actions */
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.upload-btn:hover {
    background-color: #2C8C43; /* Darker green on hover */
}

/* --- Success and Error Messages --- */
.success-message, .error-message {
    font-size: 16px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    color: white;
}

.success-message {
    background-color: #34A853; /* Google's green for success */
}

.error-message {
    background-color: #EA4335; /* Google's red for errors */
}

/* --- Logout Button in Header --- */
.logout-btn {
    display: inline-block;
    padding: 8px 15px;
    font-size: 16px;
    color: white;
    background-color: #D93025;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.logout-btn:hover {
    background-color: #B22222;
}

/* --- Footer Styling --- */
footer {
      
    margin-top: 50px;
    padding: 15px;
    background: #333;
    color: white;
    font-size: 14px;
}
